-
LCDOUT generates errors.
Hi Guys,
I have started on my first 18F part and run into some resistance. I got a working code with a couple of LED’s and switches which runs fine. Adding an LCD shouldn’t be any problems but as soon as I try to use the LCDOUT command errors are generated in MicroCS!
LCDOUT $FE, 1
Error[113] c:\pbp\pbppic18.lib 2965 : Symbol not previously defined (‘)
Error[112] c:\pbp\pbppic18.lib 2965 : Missing operator
And many more….
If I comment out the LCDOUT line it compiles and runs perfectly. I have obviously missed something but I can’t figure out what it is.
Any clues are welcome!
Oh, and the part is an 18F2620.
Thanks!
-
Stupid me!
Sorry, this was a stupid mistake!
The difference between the following two lines was generating all the errors but not until I used the LCDOUT command!
Old:
DEFINE LCD_COMMANDUS 2000 ´ Set command delay time in us
New:
DEFINE LCD_COMMANDUS 2000 ‘ Set command delay time in us
SORRY! :-)