Hallo, after I ve set up some basic code for serial reading like Serial.readBytes(

Hallo, after I ve set up some basic code for serial reading like
Serial.readBytes( (char*)leds, NUM_LEDS * 3);
what is the proper sequence to send with serial ? rgb in ascii ? how is the correct syntax? Thanks

Hello @Simone_Marin . Can you post the code you have so far to pastebin or gist so we can better understand what you’re asking?
Are you able to read your data with Serial.readBytes?

Hi Marc I figured out myself, thank you but I add my code anyway as you can see it is very basic and there is no header-tail but it seems to work ok at 500000 bauds with USB and 120fps for 60 LEDs. The idea is to drive much more LEDs. Is 500000 a limit for USB? http://codepad.org/WYNQAior

Glad you have that part working. I haven’t used super high baud rates like 500000 so can’t comment there.
I did note you say 500K baud here, but in your code you only have 50K.