Go Down

Topic: Problem with communication between Arduino, Processing and Neopixels (Read 434 times) previous topic - next topic


Hello everyone,

I'm trying to get the value from my screen to a strip of 44 Neopixels, with the help of Arduino and Processing. The processing code takes the values of the screen, sends these to Arduino, which in turn sends it to te Neopixels.

With the code I'm using right now, it is working, for the half of the Neopixels. The other half did not do anything. I have been troubleshooting for quite a while now, but I'm not able to find what exactly went wrong in the code.

I was hoping someone might be able to help me out and tell me where it went wrong in the code..


The code I'm using is attached


Just an observation on the Arduino code. You do all the stuff even though you have not got all the data in.
I think all the talking to the neopixel should only be done when all the data is in. So it needs to be in the scope of that
if (Serial.available()>=31) {

Go Up