Skip to main content
added 58 characters in body
Source Link

thank you @jsotola

throught he debugging you mentioned i was able to learn that the '\n' was added to the end of the string. Instead of using Serial.readString() I used Serial.readStringUntil('\n');

this would check for a delimiter character '\n' then stop. Thus, my myColor variable would be red instead of red'\n'

thank you @jsotola

throught he debugging you mentioned i was able to learn that the '\n' was added to the end of the string. Instead of using Serial.readString() I used Serial.readStringUntil('\n');

this would check for a delimiter character '\n' then stop.

thank you @jsotola

throught he debugging you mentioned i was able to learn that the '\n' was added to the end of the string. Instead of using Serial.readString() I used Serial.readStringUntil('\n');

this would check for a delimiter character '\n' then stop. Thus, my myColor variable would be red instead of red'\n'

Source Link

thank you @jsotola

throught he debugging you mentioned i was able to learn that the '\n' was added to the end of the string. Instead of using Serial.readString() I used Serial.readStringUntil('\n');

this would check for a delimiter character '\n' then stop.