hi guys
i just want to know the differences between this to command
Serial.parseInt() vs Serial.read()
thanks <3
hi guys
i just want to know the differences between this to command
Serial.parseInt() vs Serial.read()
thanks <3
Easily found in the documentation
Serial.parseInt() block the Arduino until it receives a number or until its timeout period ends.
You may be interested in Serial Input Basics - simple reliable non-blocking ways to receive data.
...R
thank u so much i have a nother question if u have simple example how to use : Serial.setTimeout()
???
magnificentxd:
thank u so much i have a nother question if u have simple example how to use : Serial.setTimeout()
???
Section-6(3) of the post of this link may be helpful for you.