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.
Sharp IR Collision
— Stops movement panels when a Sharp IR sensor on EZB ADC detects objects within a set range; displays ADC voltage, VU meter and 0-255 distance value.
Try it →
COM.readByte(port)
| port | COM port name as a string. |
Reads and returns one byte from the specified COM port.