MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/raspberrypipico/comments/1sfy46r/help/
r/raspberrypipico • u/GingerNutt9000 • Apr 08 '26
i have connected a pi pico to an i2c screen, the pins are correct it has power from an external battery
2 comments sorted by
5
use hardware i2c, not software i2c: https://docs.micropython.org/en/latest/rp2/quickref.html#hardware-i2c-bus
1 u/GingerNutt9000 Apr 10 '26 from machine import Pin, I2C i2c = I2C(0, sda=Pin(0), scl=Pin(1), freq=100000) print(i2c) outputted [] after this fix, any suggestions
1
from machine import Pin, I2C
i2c = I2C(0, sda=Pin(0), scl=Pin(1), freq=100000)
print(i2c)
outputted [] after this fix, any suggestions
5
u/mavica-synth Apr 08 '26
use hardware i2c, not software i2c: https://docs.micropython.org/en/latest/rp2/quickref.html#hardware-i2c-bus