I am getting strange behavior from the TextOut and NumOut commands.
I just have an infinite loop running to print out the raw reading from the sensors for my own edification.
Based on the manual and the tutorial, the printing lines originally looked like:
TextOut(0, LCD_LINE1, "Touch:");
NumOut(60, LCD_LINE1, touchVal);
This gave me the error:
line 25: Error: ',' expected
line 25: Error: Unknown data type
line 25: Error: string constant or variable of type string expected
line 26: Error: ')' expected
If I comment out the TextOut line, I get a similar set of errors for NumOut.
With a little playing around, I found that this code compiles:
TextOut(0, LCD_LINE1, "Touch:", "Touch:");
NumOut(60, LCD_LINE1, touchVal, touchVal);
But when I run this, all I see is the result from the NumOut. I put a Wait(500) in between the TextOut and NumOut, and I can watch the two flash back and forth, but apparently the NumOut is overwriting the TextOut.
I am at a loss to figure out what is going on.
Thanks for any help.