Wow the quality of the video is so much better than your 2014 version... you can actually follow and read the code as you describe it.... Thank you so much for this info. I've got a feeling you are saving a whole lot of research/trial & error to a great deal of people (including myself) who are not taking the time to thank you...
OMG - THANK YOU SO MUCH! I´ll have to do a Arduino-Project in School and all the other students are building a "If I press this button that LED will light up - Project". But with the decodering Sketch from yours I´ll be able to build a DMX controlled Neopixel-Ring. The script is exactly what I need! How can I give gou something back? THANK YOU
I'm just waiting for some of my components to arrive, but plan on having a go with this. Can I just ask, if I want to use the Arduino as a DMX reciever with just 1 channel and then use it to start different light sequences (different routines), is this straightforward? For example, assuming I set an DMX address of 120, with 1 channel. If I use my DMX software to send value 20 to DMX 120, it would activate a flashing light routine. If I send value 30 to DMX 120 it would set all lights to white via a routine etc etc. Any advice gratefully received.
Yes you can do this - t's how many lighting fixtures handle physical resets and the such. Just be aware that the subroutine for the DMX frames can cause timing issues as they will be triggered quite often in code timing speak.
How did your project work out? I'm starting simple, but eventually am going to control some ws2812 neopixel strips with 4 channels; R,G, B, and different patterns, maybe with a 5th channel that's for pattern speed.
Hey, i've tried to use your code, but i can't compile it. Error: "collect2.exe: error: ld returned 1 exit status" I'm using the Arduino Nano - is this maybe the reason? (same with nothing connected to the arduino) I've changed the "HardwareSerial.cpp"-File - but same problem. Maybe you've got an idea - thanks :) (Arduino 1.6.7)
Trying very hard to make it work, but it doesn't compile :( Tried it with Arduino 1.0.6 and 1.8.8, changed the .cpp files but still doesn't compile. Hoping someone can help me, I'm using it for school project. Error code: Arduino: 1.0.6 (Mac OS X), Board: "Arduino Uno" core.a(HardwareSerial.cpp.o): In function `__vector_18': /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/HardwareSerial.cpp:115: multiple definition of `__vector_18' sketch_mar26c.cpp.o:/Applications/sketch_mar26c.ino:69: first defined here Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Deprecated in 10_12... DO NOT EVER USE CGSEventRecord directly. Bad things, man.... bad things.)