Clearinputbuffer
COM.clearInputBuffer(port)
Parameters
| port | COM port name as a string. |
Returns
NothingDescription
Clears all data from the input buffer of the specified COM port.
Inverted Pendulum
— Balancing controller for Sainsmart v3 (and compatible) robots: PID tuning, real‑time telemetry, angle offset, movement and calibration via ARC.
Try it →
COM.clearInputBuffer(port)
| port | COM port name as a string. |
Clears all data from the input buffer of the specified COM port.