Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
#32
Hi DRONE7

The mpd_oled screen layout is not currently configurable.

The project that is working for you includes the lines

Code:
RST=24
...
# 128x64 display with hardware I2C:
disp = Adafruit_SSD1306.SSD1306_128_64(rst=RST)

mpd_oled includes Adafruit code to control the display, and if your display works with this project's default values then the corresponding display type and reset pin settings should be "mpd_oled -o 3 -r 24".

I only have SSH1106 I2C displays, but I have had a report of mpd_oled working with a SSD1306 I2C display. In that case the display's I2C address was 0x3d, but the project that is working for you appears to be using 0x3c as a default and this is also the mpd_oled default. However, you could check your display's I2C address by installing and running i2cdetect, and look for a 3c or 3d in the output


Code:
sudo apt-get update
sudo apt-get install i2c-tools
sudo i2cdetect -y 1

Adrian.
Reply


Messages In This Thread
RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - by adrii - 08-16-2018, 06:23 AM
RE: help me - by ghera78 - 02-28-2020, 08:01 AM
RE: help me - by ghera78 - 02-28-2020, 01:17 PM

Forum Jump: