Readbyte
COM.readByte(port)
Parameters
| port | COM port name as a string. |
Returns
The first byte read from the COM port.Description
Reads and returns one byte from the specified COM port.
Ultrasonic Distance
— Displays HC-SR04 ultrasonic distance readings in ARC; scriptable via GetPing(), pausable, sets a variable with multiplier, optional NMS output
Try it →
COM.readByte(port)
| port | COM port name as a string. |
Reads and returns one byte from the specified COM port.