my boud rate is 115200 and i want to keep it that way.
i did a test and i found that since i write something to the serial port via Raspberry Pi it tooks 1 sec to get some data back, for example:
my boud rate is 115200 and i want to keep it that way.
i did a test and i found that since i write something to the serial port via Raspberry Pi it tooks 1 sec to get some data back, for example:
what can i do to speed this up?
you could dramatically speed up the transmission upon transmitting integers instead of text.
A bit tweaking on the python side to force data into integers, but WAYS more efficient...
RIN67630:
you could dramatically speed up the transmission upon transmitting integers instead of text.
A bit tweaking on the python side to force data into integers, but WAYS more efficient…
i will check it out, thanks!
groundFungus:
String data_1= Serial.readStringUntil('\n');
The default timeout for the readStringUntil() function is 1 second.