I created a new DMX library for Teensy 3: https://github.com/ssilverman/TeensyDMX
I wrote it partly as an exercise to learn how to do this kind of thing on the Teensy. Comments are welcome.
Some features:
I wrote it partly as an exercise to learn how to do this kind of thing on the Teensy. Comments are welcome.
Some features:
- Teensy's default serial buffer isn't used; the data goes directly to/from the DMX buffers from/to the ISR's.
- Simple API: After setup, there's only one read call (`readPacket`) and two forms of one write call (`set` for single and multiple channels).
- The library properly handles DMX packets containing less than 513 slots.