Hello
I've tried to communicate from my CR1000 (os v17) to a microcontroller using the CS I/O port. To do so I tried to open the serial port using this command:
SerialOpen (ComME,2400,16,100,255)
Unfortunately this gives a compiler error: "Format option only available on COM1...COM4"
But the help file (CRBASIC1.HLP) supplied with the cr1000 firmware v17 states:
"The Format parameter is used to specify the type of error detection to be used for the exchange of data. These format options apply to all ComPorts except COM310/COM320, ComSDC7, and ComSDC8."
So "ComME" should work?!
Does anybody know why I get an error message?
Hi Monte,
When in doubt, trust the compiler. (I write the CRBasic help ;)
I will double check with the developer and get back with you. TTL logic may apply only to the COM (e.g., C1/C2) ports.
Dana