Error: ISO C++ forbids comparison between pointer and integer [-fpermissive] ESP8266 NodemCu

The serial read function reads only one byte, not the entire contents of the receive buffer.

Robin2's serial input basics tutorial shows robust ways to read and parse data from the serial port.

1 Like