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.

You can grab it here or mosey on over to the original post for the instructions.

1 Comment

  1. Hi Max,

    And thanks for your job !

    I have problems making working your DMX sketch.
    I use the rev 15 and i changed the hardware serial.cpp file, i use a max 485 chip, but nothing seems to happen. I send DMX signal with another computer using DLight.
    I inserted this :

    action();
    Serial.println(“test”);

    but nothing appears in the monitor window.

    What do I do wrong ?

    Regards

Leave a Reply

Your email address will not be published. Required fields are marked *