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:
It should look like this (missing code highlighted):
Another Adafruit 20x4 LCD component bug
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: Another Adafruit 20x4 LCD component bug
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
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
-
- 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
Leigh,
Thank you for the effort, but the only difference I see is the removal of what appears to be debugging code.
Regards,
Keith
Thank you for the effort, but the only difference I see is the removal of what appears to be debugging code.
Regards,
Keith
- 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
Hi Keith,
In the LCD component properties you should now see a new property: OLED V2 no/yes
Set that to yes.
In the LCD component properties you should now see a new property: OLED V2 no/yes
Set that to yes.