Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6856

SPI vs I2C on Breakout Garden

$
0
0

@Crowbot wrote:

I have my new Breakout Garden mini to make a weather station. I have the BME680 and the 1.12" OLED SPI.

I verified that the BME680 and LCD work individually.

The example in the BG lib (weather.py) only references the I2C version.

Set up OLED
try:
oled = sh1106(i2c(port=1, address=0x3C), rotate=2, height=128, width=128)

How can I switch this to SPI? TIA.

Posts: 9

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6856

Trending Articles