(I see this thread is quite inactive, maybe that means there is another more active ??)
I am trying out Steves code for driving a 5110 screen (bought here http://dx.com/p/arduino-1-6-lcd-disp...-silver-140226 )
It works very well, except for one of his examples. In the more complex example called 'USINGGLCDOUT_CMD_16F---' I get an error during compiling, and I've tried a few tricks but nothing has got passed it (I modified it for a 16F819, but other than the pic specific configs and the pins I chose use nothing else is changed).
Here it is.
PICBASIC PRO(TM) Compiler 3.0.1.4, (c) 1998, 2011 microEngineering Labs, Inc.
All Rights Reserved.
[ERROR] usingglcdout_cmd_16f819.pbp (57) : Reading DEFINE Block
it comes from this define I think (which works fine in the other less complex examples about using variables and constants).
DEFINE GLCD_2DEC_USED
INCLUDE "..\Include\GLCD_NOKIA.PBP" ' Plug the Nokia Driver/Wrapper in here
If I remark out the define I get this when I compile.
PICBASIC PRO(TM) Compiler 3.0.1.4, (c) 1998, 2011 microEngineering Labs, Inc.
All Rights Reserved.
[ASM ERROR] USINGGLCDOUT_CMD_16F819.ASM (562) : ERROR: (Seems you forgot to add DEFINE GLCD_2DEC_USED to your code...)
Which you'd expect.
I can post up the whole example code if anyone wants, but it's right out of Steve's examples.
I'm wondering if it's something to do with PBP3.
Anyone got a clue ?
Keeping in mind that his other examples compile and run fine, and I tried his code with and without my config and pin changes..
Martin
Bookmarks