I have this code below where I got from this forum that I followed through. It did not work for me but they claim that the code is fine. I already tried several string compariso
I just use ' ' (single) instead of " " (double)
' '
" "
char c = Serial.read(); if (c == '1'){ //do something}