Cog QA
Guy K
Posts: 6
Are there special conditions COGID cant be used?? does there have to be multiple cogs started??
Why is the cogid returned as a slash \ insted of a 0-7
Running a 2x16 serial lcd
using OBJ - FullDuplexSerial.spin
Code...........LCD.tx(cogid)
Why is the cogid returned as a slash \ insted of a 0-7
Running a 2x16 serial lcd
using OBJ - FullDuplexSerial.spin
Code...........LCD.tx(cogid)
Comments
Not 100% sure, but LCD.tx send the byte value stored in cogID, right? What you want is to transform it as a char? So you should have to add 48 to it?
Can you try LCD.tx(cogid+48)? Ascii code for "0" is 48....
JM
That did it thanks for the help