toInt() is not working properly

The serial input basics tutorial shows robust ways to read serial data into strings (null terminated character arrays not to be confused with Strings) and parse the data.

1 Like