Hallo!
Nach etlichen Suchen und Irrläufern wende ich mich mal ans Forum, damit ich ggf. eine Lösung finde.
ich möchte ein 3,3V Display (HD44780 kompatibel) über SPI mit lcdproc verbinden. Leider läuft die Sache ins leere.
Wiring:
ST7066 | Typ | GPIO |
D6 | SCLK | SCLK (Pin23) |
D7 | MOSI | MOSI (Pin19) |
RS | RS | GPIO25 (Pin22) |
/CSB | CS | CE0 (Pin 24) |
Hintergrund ist die Nutzung von lcdgps, welches die ermittelten GPS-Daten auch über LCDd ausgeben kann.
Durch andere Applikationen sind I2C und seriell schon anderweitig genutzt.
Meine LCDd.conf sieht so aus:
Code
## This file was written by cme command.
## You can run 'cme edit lcdproc' to modify this file.
## You may also modify the content of this file with your favorite editor.
[server]
Driver = hd44780
DriverPath = /usr/lib/arm-linux-gnueabihf/lcdproc/
GoodBye = ByBy
Heartbeat = on
Hello = Hello
NextScreenKey = Right
Port = 13666
PrevScreenKey = Left
ReportToSyslog = yes
ToggleRotateKey = Enter
[hd44780]
Backlight = no
Brightness = 800
CharMap = hd44780_default
ConnectionType = spi
Contrast = 800
DelayBus = true
Device = /dev/spidev0.0
KeyMatrix_4_1 = Enter
KeyMatrix_4_2 = Up
KeyMatrix_4_3 = Down
KeyMatrix_4_4 = Escape
Keypad = no
OutputPort = no
Port = 0x378
Size = 16x2
Speed = 1
[menu]
DownKey = Down
EnterKey = Enter
MenuKey = Escape
UpKey = Up
Alles anzeigen
Ich kann LCDd über systemctl starten, lcdproc -s localhost -p 13666 C -f läuft auch. Nur die Anzeige bleibt "stumm".