Hi
I own two of these devices.
I use the Qwiic interface extensively and have a bee sensor and oled display that I connect to these devices.
Recently both of them have started giving issues with qwick interface.
Running the following MicroPython code shows no i2c devices:
i2c = machine.I2C(sda=machine.Pin(23), scl=machine.Pin(22))
devices = i2c.scan()
if len(devices) == 0:
print(“No i2c device !”)
else:
print(‘i2c devices found:’,len(devices))
for device in devices:
print("Decimal address: “,device,” | Hexa address: ",hex(device))
MPY: soft reboot
Scan i2c bus…
Setting i2c…
No i2c device !
MicroPython v1.12-623-gf743bd3d2 on 2020-07-11; ESP32 module (spiram) with ESP32
I know the solution would be to just go and buy another board, but is there a way of resetting the i2c on these boards?
Or what could be causing this?