- Provide control over the startup and demo commands.
- Ensure that potentially undefined variable is defined.
- Provide functions to fetch local and remote firmware versions.
- Provide a static method to program the latest firmware version and a CLI to do so from the terminal.
- Add a
timeout
property to the functions that deal with updating the firmware.
- Add a
timeout
property to simplify modifying the command timeout.
-
Provide access the new
mcu
command that reveals the microcontroller used at the time of firmware programming. -
Provide an internal method that can be used by developers to update to the latest firmware.
- Small fixup in how reading the Teensy's registers is done to ensure better forward compatibility.
The following features require teensy-to-any version 0.0.23 or greater
- Add support for
gpio_digital_pulse
. - Add support for
analog_pulse
. - Add support for new
value
parameter forgpio_pin_mode
. - Add support to read the data returned from
spi_transfer_bulk
.
- Address bugs in reading the values from Teensy's registers.
- Add the ability to read and write to the teensy's registers.
- Increase default timeout to 0.2 seconds from 0.1. This helps receive error messages from missed I2C communications.
- Return an error if no response is returned from a standard command indicating a timeout.
- Try to avoid racy conditions in version reading
- Flush buffers upon startup to help with crash recovery.
- Make the error message when no device is found more human friendly.
- Use packaging instead of distutils for version identification
- added function
spi_read_byte
enabling the user to read SPI register.
- added function
analog_read
enabling the user to read analog signals.
- added
i2c_read_payload and
i2c_write_payload functions
which allows users to read and write a contiguous payload of bytes
- Ensure compatibility with pyserial 3.X
- Power a
start_poweroff
parameter toTeensyPower
to start the device in the on state. - Added the ability to close and open the device without deleting the python object.
- Added the ability to control a power switch that is connected to the nominally on port.
- Added capabilities for SPI and Analog functions
TeensyPower
destructor will not raise an error when the device had failed to open.
TeensyPower
devices will automatically poweroff the output when closed.
- Added the specialized
TeensyPower
driver.
- Added a few more serial numbers to the
teensytoany.known_devices
- First release on PyPI.