Thanks, I totally missed the fact that the last case was compiling with no errors, just warnings.
As you also mention I was not defining “SERIALANME”, so added: -
Code:
#define SERIALNAME "serialpl2303.device"
I was not sure on the default baud rate, so set it: -
Code:
SerialIO->io_Baud = 19200;
SerialIO->IOSer.io_Command = SDCMD_SETPARAMS;
The program compiles and works!
Thanks for the help :)
[ Edited by Symbola 18.12.2020 - 20:36 ]