Hi Get multiple errors when trying to compile test source for st7920 glcd
Also not sure if this is normal but unable to open glcd.h with a text editor.
thanks in advance For any help.
Geoff
The Help needs updating and you have defined a constant for a varialble - probably because the Help is incorrect. And, a few of the specific device functions were renamaned.
You code is shown below but you you should look at C:\GCB@Syn\GreatCowBasic\Demos\GLCD Solutions\GLCD Simple Demonstration Solutions\GLCD_Simple_Demonstation_16F1789_for_ST7920@32.gcb in your demos - this should be a better start.
Hi Get multiple errors when trying to compile test source for st7920 glcd
Also not sure if this is normal but unable to open glcd.h with a text editor.
thanks in advance For any help.
Geoff
These are the errors
st790ex.gcb (25): Error: Syntax Error
st790ex.gcb (30): Error: Syntax Error
st790ex.gcb (40): Error: Syntax Error
st790ex.gcb (53): Error: Syntax Error
st790ex.gcb (56): Error: Syntax Error
/opt/GCBASIC/include//glcd_ST7920.h (227): Error: 6 is not a variable
This is the code
;Chip Settings
#chip 16F1937,32
#config Osc = INT, VCAPEN_OFF, MCLRE_ON, PLLEN_ON, CLKOUTEN_OFF
The Help needs updating and you have defined a constant for a varialble - probably because the Help is incorrect. And, a few of the specific device functions were renamaned.
You code is shown below but you you should look at C:\GCB@Syn\GreatCowBasic\Demos\GLCD Solutions\GLCD Simple Demonstration Solutions\GLCD_Simple_Demonstation_16F1789_for_ST7920@32.gcb in your demos - this should be a better start.
Evan
Hi Have worked out the first 5 errors still not sure on sure on the last one.
Geoff
Thanks Evan ....