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?
Adafruit 4x20 LCD
Moderator: Benj
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Adafruit 4x20 LCD
Seems to work OK for me,
Did you first call Start()?
Could you post a project file, *.fcfx?
Did you first call Start()?
Could you post a project file, *.fcfx?
-
- Posts: 55
- Joined: Thu Nov 23, 2017 12:21 am
- Has thanked: 15 times
- Been thanked: 12 times
- Contact:
Re: Adafruit 4x20 LCD
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. btw: This program works without issue with the generic 4x20 LCD component.
The 'Main' calls 'Startup' which calls 'Pgm' when the 'PGM' key is pressed. It hangs at the first instance of the cursor method. btw: This program works without issue with the generic 4x20 LCD component.
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Adafruit 4x20 LCD
Thanks, perfect!
Probably won't get chance to look at this until return to office 2nd Jan.
Probably won't get chance to look at this until return to office 2nd Jan.
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Adafruit 4x20 LCD
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
(The sim Cursor function was waiting for the ready pin - this has now been removed)
Thanks
Leigh
- Attachments
-
- LCDAdafruitOLED4x20.fcpx
- (25.34 KiB) Downloaded 184 times