Rev10 of the Arduino DMX Receiver Code Released
New in this Release:
- Cleaned up and improved code commenting.
- Adjusted HardwareSerial.cpp (included) so the code will compile on Arduino software release 0015. If you’re still using 0014 or 0013, you’ll replace wiring_serial.c instead (also included).
- Replaced manual register configuration of the USART with the Arduino function Serial.Begin(250000), which apparently works just as well and reduces the number of Atmega168-specific register calls considerably.
- Moved the action() loop (what you want the Arduino to do with the received values) to its own tab, to make the code easier to use.
As always, let me know how works for you, or doesn’t.