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.
LCD macro Cursor doesn't work with variables
-
- Posts: 10
- Joined: Wed Dec 10, 2008 10:39 am
- Contact:
LCD macro Cursor doesn't work with variables
- Attachments
-
- Flowcode_Cursor.fcf
- (4 KiB) Downloaded 298 times
- Dan81
- Valued Contributor
- Posts: 268
- Joined: Sun Jan 15, 2006 4:07 pm
- Location: Albi France
- Been thanked: 60 times
- Contact:
Re: LCD macro Cursor doesn't work with variables
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
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