Open amirezz opened 8 years ago
Hello @amirezz I'm following this project, so I got notified of this issue and felt like passing my 2 cents
I believe the fastest way to increase the speed is by turning the delay from 10ms
to 1ms
Here is the line for the transmitter.
Here, the delay() function is explained.
If however you are looking for a faster rate, there is a delayMicroseconds() function. Although, there seems to be some caveats
I suppose anything faster that remains accurate cannot be done with arduino alone, you will need a Driver, a separate module whose purpose is to transmit/receive pulses of light a very high rates, and interfaces with the arduino.
Dear @carlosascari Thanks for your interest . but i don't care about the speed now .I use the serial monitor to transmit the data so i need to send more than 32 char each time and here comment line which say i can't 0x02 : STX start of frame N times Effective data excluding command symbols, with N < 32 0x03 : ETX end of frame any ideas. thanks in advance
Hellow @carlosascari Thanks for your replay . that was very helpful
Dear jpiat " Hope you are doing well. thanks for your great code it is very helpful. i was wondering of there is any way to increase the number of characters send every time. thanks in advance