03-31-2020, 08:39 PM
(This post was last modified: 03-31-2020, 10:09 PM by Baisey.
Edit Reason: More info.
)
Hello
I've had this setup with moode under both i2c and spi. Both worked perfectly.
I think my SD card corrupted so had to re-install. I did make a backup but thats on a work computer and i'm at home for the foreseeable (UK).
I have an Adafruit SSD1306 128x64 connected via SPI. When I come to test the screen (sudo ./mpd_oled -o 1 -b 10 -g 1 -f 20) I get - 'mpd_oled: error: could not initialise OLED'.
The pi is seeing the screen because I can run demo files from Adafruit and luma.OLED but not from ArduiPi.
I used this as a guide on how to wire the screen to the pi - http://hallard.me/adafruit-oled-display-driver-for-pi/. I think the the mpd_oled default settings will work with this wiring.
Any help would be much appreciated.
Raspberry Pi 3B - Moode 6.4.2
Thank you
Paul
I've had this setup with moode under both i2c and spi. Both worked perfectly.
I think my SD card corrupted so had to re-install. I did make a backup but thats on a work computer and i'm at home for the foreseeable (UK).
I have an Adafruit SSD1306 128x64 connected via SPI. When I come to test the screen (sudo ./mpd_oled -o 1 -b 10 -g 1 -f 20) I get - 'mpd_oled: error: could not initialise OLED'.
Code:
ls -l /dev/spi*
crw-rw---- 1 root spi 153, 0 Mar 31 18:02 /dev/spidev0.0
crw-rw---- 1 root spi 153, 1 Mar 31 18:02 /dev/spidev0.1
The pi is seeing the screen because I can run demo files from Adafruit and luma.OLED but not from ArduiPi.
I used this as a guide on how to wire the screen to the pi - http://hallard.me/adafruit-oled-display-driver-for-pi/. I think the the mpd_oled default settings will work with this wiring.
Any help would be much appreciated.
Raspberry Pi 3B - Moode 6.4.2
Thank you
Paul