FabGL
ESP32 Display Controller and Graphics Library

◆ pollSerialPort()

void pollSerialPort ( )

Pools the serial port for incoming data.

This method needs to be called in the application main loop to check if new data is coming from the current serial port (specified using Terminal.connectSerialPort).

Example:

void loop() {
  Terminal.pollSerialPort();
}

Definition at line 1746 of file terminal.cpp.