I have a PicoW attached to a PiicoDev board. When trying to attach the PiicoDev_SSD1306 it is unable to be found on I2C. The following code shows this with the output
"from PiicoDev_SSD1306 import *
from PiicoDev_SSD1306 import PiicoDev_SSD1306
from machine import Pin,I2C
import ssd1306
def do_scan(which):
i2c=I2C(which)
print("I2C Configuration: "+str(i2c))
devices = i2c.scan()
for device in devices:
print(hex(device))
do_scan(0)
do_scan(1)"
output:
">>> %Run -c $EDITOR_CONTENT
MPY: soft reboot
I2C Configuration: I2C(0, freq=399361, scl=9, sda=8)
I2C Configuration: I2C(1, freq=200000, scl=7, sda=6)
"
When the same code is run with the PiicoDev_BME280 the output is as following:
">>> %Run -c $EDITOR_CONTENT
MPY: soft reboot
I2C Configuration: I2C(0, freq=399361, scl=9, sda=8)
0x77
I2C Configuration: I2C(1, freq=200000, scl=7, sda=6)
"
The display has power indicator and was very briefly working. Any ideas?