?I’ve been working on this project for some time now and I’m at a point where the thing works, but it is not always reliable.?I have MAX sending a string of ASCII representing RGB values to arduino. Arduino then unpacks this string and assigns the values to PWM pins 9, 10 and 11 to mix color using a high-powered RGB LED. I have been able to do this, but am noticing that every so often I get a color flicker in from the LED. It is almost as if every so often a value in the string is assigned to the wrong pin. It feels like a slip up in assigning values, 70% of the time things work quite well.
Attached are the MSP and Arduino files. Please let me know if you have any suggestions.?
ledString2_0.pde (3.57 KB)