![]() Is the best way to split the serial data up in smaller pieces, where when each piece arrives i process it and light up the pixels? Or are there any better solution to this?Īs each data value is recieved could you set up the corresponding pixel? Now since the LED matrix has 4096 pixels, the data sent through the serial would be very much, and i can't store the whole message in, for example, a array. Each of these values is in the order as it should be printed out on the LED, i.e first value (333) is the pixel at x:0 y:0, next at x:1 y:0. Where the the messages is defined to be between the '', and each value between the commas is a color representation that i want a individual LED to light up. I have experimented a little bit by sending serial data in the format of the following: Now since i want to be able to display pictures etc on the LED, i would have to send alot of data through the serial, and process it on the Arduino. ![]() ![]() I have a 64圆4 LED Matrix connected to my Arduino Mega 2560, and i want to be able to light up each LED with a chosen color through sending data via the serial to the Arduino.
0 Comments
Leave a Reply. |