Page 1 of 1
Adafruit 4x20 LCD
Posted: Thu Dec 21, 2017 12:15 am
by keithh534
It seems the cursor method of the LCD_4x20 (Adafruit, OLED) component doesn't work. Whenever the simulation calls the method, it hangs.
Am I doing something wrong?
If not, when can I expect this bug to be fixed?
Re: Adafruit 4x20 LCD
Posted: Thu Dec 21, 2017 11:49 am
by LeighM
Seems to work OK for me,
Did you first call Start()?
Could you post a project file, *.fcfx?
Re: Adafruit 4x20 LCD
Posted: Fri Dec 22, 2017 12:37 am
by keithh534
Yes, in the 'Startup' macro as shown below.
The 'Main' calls 'Startup' which calls 'Pgm' when the 'PGM' key is pressed. It hangs at the first instance of the cursor method.
- Main.jpg (79.85 KiB) Viewed 3885 times
- Startup.JPG (78.18 KiB) Viewed 3885 times
- Pgm.jpg (91.44 KiB) Viewed 3885 times
btw: This program works without issue with the generic 4x20 LCD component.
Re: Adafruit 4x20 LCD
Posted: Sun Dec 24, 2017 8:09 pm
by keithh534
Sample program attached demonstrates issue
Re: Adafruit 4x20 LCD
Posted: Sun Dec 24, 2017 9:14 pm
by LeighM
Thanks, perfect!
Probably won't get chance to look at this until return to office 2nd Jan.
Re: Adafruit 4x20 LCD
Posted: Tue Jan 02, 2018 9:57 am
by LeighM
Please use the attached updated component, drop into your Flowcode /components directory.
(The sim Cursor function was waiting for the ready pin - this has now been removed)
Thanks
Leigh
Re: Adafruit 4x20 LCD
Posted: Wed Jan 03, 2018 2:45 am
by keithh534
Much better!
Thank you!!