Page 1 of 1

LCD macro Cursor doesn't work with variables

Posted: Thu Dec 11, 2008 7:27 am
by bigparmezan
Hi,

if I try to use the LCD macro Cursor using variables, say
x=0
y=0
Cursor (x,y)
it doesn't work.

It works fine in the simulation but not on the actual HW.
It works with literals, of course:
Cursor (0,0)

It must be a compilation bug! My version of Flowcode is 3.4.7.48.

I'm attaching the fcf file. Thanks for help.

Re: LCD macro Cursor doesn't work with variables

Posted: Sat Dec 13, 2008 11:09 am
by Dan81
Hello

Did you test the programme on HW with cursor(0,0) ?

I think your configuration is not good.

Click on : chip / configure / Switch ...

The config word is 0x3FFF, it should be 0x3F7A :

- oscillator : HS (not RC)
- Watchdog Timer: Off
- Low voltage Prog : Disable


I hope this can help you


Daniel