|
Re: Welcome to the WPILib forum
Simplicity itself - I just used:
unsigned char inchar;
inchar = ReadSerialPortOne();
if (inchar != 0)
{
// valid character is available
}
No need to open the port (#1) as the FRC runtime environment had already opened it at 115200 baud.
For output to the port use the standard EasyC print block.
|