08-25-2016, 02:18 PM
(08-25-2016, 11:50 AM)MarkHaysHarris777 Wrote: I have used the ada fruit 16x2 LCD many times, most recently for a calculator project;
... the first thing you better do is study this data sheet thoroughly.
Realize that the data buss on this device is bi-directional and the logic is 5v !!! If you try to use this device with your PineA64 without bi-directional level shifters you will blow your Pine board. (words to the wise)
The back-light is adjustable (which may be your immediate problem, I don't know, you might have it wired backwards too).
First steps: study the data sheet.
MarkHaysHarris777, thanks for your reply. This lcd has microchip and resistors already and its desined to be plug-and-play using I2C. It should light up as soon as its plugged (it's designated to be plugged in directly in to RPi GPIO. I've tried to search for an address but I2C tools cameout with nothing on the bus.
Code:
[root@localhost ~]# i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
[root@localhost ~]# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --