Another Adafruit 20x4 LCD component bug

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
keithh534
Posts: 55
Joined: Thu Nov 23, 2017 12:21 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

Another Adafruit 20x4 LCD component bug

Post by keithh534 »

When compiling to chip, display doesn't work.
I believe the issue is it's missing 2 lines of code in the "Start"method.
Currently, it looks like this:
Current.png
(17.99 KiB) Downloaded 1562 times
It should look like this (missing code highlighted):
New.png
(41.65 KiB) Downloaded 1562 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: Another Adafruit 20x4 LCD component bug

Post by LeighM »

Hi
Thanks.
I've had a look at the Adafruit Arduino reference code, and you are correct, it shows an extra 0x08 for V2 only,
So I've added this on a new property OLED V2 no/yes.
Although the Adafruit gives the order as 3,8,2,2,8 rather than 3,2,8,2,8 so I've implemented it as Adafruit sequence,
let me know if it does not work for you.
Thanks
Leigh
Attachments
LCDAdafruitOLED4x20.fcpx
(25.53 KiB) Downloaded 187 times

keithh534
Posts: 55
Joined: Thu Nov 23, 2017 12:21 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

Re: Another Adafruit 20x4 LCD component bug

Post by keithh534 »

Leigh,
Thank you for the effort, but the only difference I see is the removal of what appears to be debugging code.
New.png
(24.22 KiB) Downloaded 1541 times
Regards,
Keith

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: Another Adafruit 20x4 LCD component bug

Post by LeighM »

Hi Keith,
In the LCD component properties you should now see a new property: OLED V2 no/yes
Set that to yes.

keithh534
Posts: 55
Joined: Thu Nov 23, 2017 12:21 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

Re: Another Adafruit 20x4 LCD component bug

Post by keithh534 »

That method doesn't appear in the list

keithh534
Posts: 55
Joined: Thu Nov 23, 2017 12:21 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

Re: Another Adafruit 20x4 LCD component bug

Post by keithh534 »

I take that back. I found it!

Post Reply