I have a problem with my DMX project and after two weeks of searching on the NET I have not been able to find the solution.
Here is my Hardware: CQRobot DMX Shield mounted on a Mega 2560. I want to individually control 8 RGB Led Par. Each fixture uses 7 channels. I configured the fixtures at the following addresses: 01,11,21,31,41,51,61 and 71.
I use the Conceptinetics library and the DMX master example.
Here is my problem. Even if I configured "DMX_Master dmx_master(100, 2)", I can only control the first fixture "01". By the way, I only control channels 01 to 10. I have no control over channels above 10.
If I configure the 8 fixtures on channel 01, they will all work so it is not a hardware problem.
This is just a wild guess, but try converting the addresses to hexadecimal values to see if that works. (The Windows calculator in Programmer mode can convert between binary, decimal, octal, and hex.)
Nothing "weird" should happen when counting above 10. ...i.e. You can count to 7 (decimal) with 3-bits, to 15 with 4-bits, etc... Sometimes you can get unexpected problems when you overflow or roll-over a data type but that won't happen at a decimal value of 10.
I could be wrong, but I believe the 2nd fixture should start at address 08, the 3rd at 15, and so on. Your first fixture is only using channels 1 - 7, so the second one would start at the next address after that.