Search found 3 matches

by douglas.young
Sat May 28, 2022 5:04 am
Forum: Raspberry Pi microcontroller boards
Topic: sd card mount check/os.mount problem
Replies: 0
Views: 9918

sd card mount check/os.mount problem

I am trying to write a datalogging program for a pi pico. When I run the following code everything works fine: import os, sdcard import machine sd = sdcard.SDCard(machine.SPI(1), machine.Pin(13)) try: os.mount(sd, '/sd') except OSError : print('already mounted') If I run it a second time, I do not g...
by douglas.young
Sat Mar 12, 2022 5:02 am
Forum: Drivers for External Components
Topic: SH1106/I2C OLED driver on pyboard
Replies: 2
Views: 23264

Re: SH1106/I2C OLED driver on pyboard

Thank you for getting back to me. You were correct. The problem was with the power pins I had soldered to the pyboard. Once I plugged the OLED into power pins that were working the i2c scan found OLED and it worked fine. Your help and patient support are very much appreciated!

DTY
by douglas.young
Wed Mar 09, 2022 9:19 pm
Forum: Drivers for External Components
Topic: SH1106/I2C OLED driver on pyboard
Replies: 2
Views: 23264

SH1106/I2C OLED driver on pyboard

I am trying to use an SH1106 OLED connected by I2C to a pyboard. The OLED is a 1.3" 128x64 module I purchased from amazon ( https://smile.amazon.com/gp/product/B07X57CJHX/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 ). I am using the driver I found at https://github.com/scy/SH1106 . I am running ...