01-27-2019, 07:51 PM
Looking for some advice for this driver/display...
I have a 128x64 sh1106 oled and have configured as per the example...adjusted for my display
the display works as shown in attached image so basic configuration is correct...
However, I am no coder so other parts of the code are giving me trouble...
I use a USB dac so the current code throws this error...when I run python moode_oled_1.54_spi_audiophonics.py with no audio playing... as the device it wants is the i2s or spdif of the audiophonics dac.....
This repeats for some time then the display blanks and this error appears...
If I start the python code and begin play from MoOde the oled shows briefly some song info then blanks with this error
I know the errors reference the lines from the code but have no idea what to change...
Any help would be appreciated, thanks
I have a 128x64 sh1106 oled and have configured as per the example...adjusted for my display
Code:
#from luma.core.interface.serial import spi
from luma.core.interface.serial import i2c
from luma.core.render import canvas
from luma.oled.device import sh1106
import RPi.GPIO as GPIO
#serial = spi(port=0, device=0, gpio_DC=27, gpio_RST=24)
serial = i2c(port=1, address=0x3d)
device = sh1106(serial, rotate=0)
the display works as shown in attached image so basic configuration is correct...
However, I am no coder so other parts of the code are giving me trouble...
I use a USB dac so the current code throws this error...when I run python moode_oled_1.54_spi_audiophonics.py with no audio playing... as the device it wants is the i2s or spdif of the audiophonics dac.....
Code:
amixer: Unable to find simple control 'I2S/SPDIF Select',0
Code:
(<class 'luma.core.error.DeviceNotFoundError'>, 'moode_oled_1.54_spi_audiophonics.py', 444)
If I start the python code and begin play from MoOde the oled shows briefly some song info then blanks with this error
Code:
(<type 'exceptions.IOError'>, 'moode_oled_1.54_spi_audiophonics.py', 275)
Any help would be appreciated, thanks
----------
bob
bob