bobrathbone / piradio6

Internet Radio for Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SH1106 SPI connection instead of I2C

vetal-esher opened this issue · comments

After SH1106 I2C test which was unreliable (the device sometimes was disconnected and radiod crashed with I2C error), i'm a bit confused what to do change in configuration to switch I2C to SPI. Changing display_type to OLED_128x64 has no effect as the radiod is crashing with I2C error, also tried with commenting i2c_address and i2c_bus. The SPI wiring is not obvious, i used
OLED - RPi
Vcc - 3.3v
GND - GND
DIN - GPIO10
CLK - GPIO11
CS - GPIO8
D/C - GPIO24
RES - GPIO25

calling 1106 via SPI within my perl program is working fine. Any suggestions?

Technical support on this product is not provided through GitHub. Please read the section called Technical Support on page 306 in the constructors manual at https://bobrathbone.com/raspberrypi/documents/Raspberry%20PI%20Radio.pdf.
Email your problem to me at bob@bobrathbone.com with a lot more detail than you have given in the above report.