pub unsafe fn vexSerialReadChar(channel: u32) -> i32
Expand description
Reads a single byte from the input buffer.
§Arguments
channel
: The serial communications channel to read from. Use1
for stdio.
§Return
The next byte in the input buffer, or -1 if no character is available to be read.
§Safety
Calls to jumptable functions are unsafe because jumptable functions are owned by VEXos and we cannot guarantee their safety.