Page 1 of 1

Another Adafruit 20x4 LCD component bug

Posted: Sun Jan 07, 2018 10:05 pm
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

Re: Another Adafruit 20x4 LCD component bug

Posted: Mon Jan 08, 2018 11:14 am
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

Re: Another Adafruit 20x4 LCD component bug

Posted: Tue Jan 09, 2018 1:30 pm
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

Re: Another Adafruit 20x4 LCD component bug

Posted: Tue Jan 09, 2018 2:18 pm
by LeighM
Hi Keith,
In the LCD component properties you should now see a new property: OLED V2 no/yes
Set that to yes.

Re: Another Adafruit 20x4 LCD component bug

Posted: Tue Jan 09, 2018 3:07 pm
by keithh534
That method doesn't appear in the list

Re: Another Adafruit 20x4 LCD component bug

Posted: Tue Jan 09, 2018 3:10 pm
by keithh534
I take that back. I found it!