Rev15 of the Arduino DMX Reception Software Released
New in this version:
- Tested and working with IDE version 0021. I have not tested it with the new Arduino Uno hardware, but can’t think of any reason why it wouldn’t work. If you have any success or otherwise with the new hardware, drop a line in the comments.
- A bug has been fixed in the addressing routine caused by button debounce, and the addressing routine logic has been simplified and made clearer. Big thanks to Ron Barber for pointing out the source of the bug and contributing new code.
- There is now a check when the previously stored address is read from EEPROM to ensure that it is in the valid range of 1-511, to prevent a bad value being read in from uninitialized EEPROM.
Fixed a potential bug in the break detection routine that could cause the read values to be off by one in cases where the break from the microcontroller was exactly 88uS.