4.1.0-beta.2
Pre-release
Pre-release
ssilverman
released this
07 Dec 03:37
·
124 commits
to master
since this release
Added
- Added a way to use either serial parameters or a timer to achieve the BREAK and MAB timings. Along with this, added the ability to change those serial parameters. New functions:
setBreakSerialParams
breakSerialBaud
breakSerialFormat
setBreakUseTimerNotSerial
isBreakUseTimerNotSerial
- Added an "Examples" section (under "How to use") to the README.
- Added a
USBProWidget
example.
Changed
- Replaced use of the custom
PeriodicTimer
with the Teensy library'sIntervalTimer
. This helps compatibility with other libraries that use this API. This means that BREAK times are slightly less accurate (when using a timer and not serial parameters). - Changed the default way to generate BREAK and MAB timings to use serial parameters instead of a timer.
- Updated the
SendTestPackets
example to use serial parameters for the BREAK and MAB times. Also changed the previous BREAK and MAB times to 88 and 8 (from 108 and 12), respectively, and commented that section out; it's present as an alternative. - Updated the
Chaser
example change interval to 50ms so that it's greater than the DMX packet time.
Fixed
- Fixed the sender to handle parity correctly when using serial parameters to achieve the BREAK and MAB timings. Some of the control bits were being incorrectly overwritten (LPUART) or not saved (UART).