I am working on a PC version of Phillips Ambilight(LEDs extend the colors from the display to the wall).
I wrote a program in C# that sends the colors of the border to Arduino(Serial).
Data that gets sent looks like this:0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF0056EF(all lights set to light blue). If i send more than 11 colors/leds (66 bytes) it stops working.
I don't know why your serial stops.
I think there is no limit size in serial communication.
So you can change the rate of serial, buffer size, or the implementation of processing, as all says.
Furthermore,for example, you can use interruputs.
MaticBabnik:
How to read more than 64 bytes over Serial?
As you have not posted your program we can't tell what you are doing.
Have a look at the examples in Serial Input Basics - simple reliable ways to receive data. There is also a parse example to illustrate how to extract numbers from the received text.
In the examples the receiving array is set to 32 bytes but you can make it as large as you want.