I created a visual studio c# winform to calculate a game, and now I'm trying to send the data (position of pixels) to the Serial, so the Arduino can use the location of the pixels(Byte x-position, byte y-position) to generate an analog component video signal. Everything is working perfectly, despite the fact that I can't read the serial data in a correct way. (I haven't got allot of experience in Serial.read() function).
I can send out any string of text I want, but with arduino's Serial.read() function I can only read one character at a time, which is very confusing for me. :/
How would you do this?