I am doing a large scale LED project using processing and STM32.
processing converts the video data into led pixel data and sends them to STM32 controllers.
each controller controls about 1200 LEDs.
each controller is connected to computer using a USB CDC serial port.
i was successfully able to send LED_DATA to one STM32 controller and display it on LED screen.
But when i will be using multiple serial ports(lets say 12) there would be delay between the time at which data is written to first serial and the 12th one.
I wanted to know
1)how to measure this delay.
2)how to send data simultaneously to all serial ports.
If anyone needs to the see the code i can post it.