EOS char is \r not \n

This commit is contained in:
giuliof 2019-02-22 15:01:51 +01:00
parent 3b392b6354
commit dcd995f351
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ void loop()
static String inputString = "";
// Check if string terminator
if (digit == '\n')
if (digit == '\r')
{
// Make string conversion
ReceivedCommand.raw = inputString.toInt();