Skip to content
Discussion options

You must be logged in to vote

SOLUTION

The solution is in two parts.

  1. The pins I originally chose for the I2C bus (26 and 27) appear to work for the Pico W, but not for the original Pico. By going back and looking at section 3.6, I2C (page 15) of the Raspberry Pi Pico Python SDK document, the examples they give use pins 8 (SDA) and 9 (SCL) or 6 (SDA) and 7 (SCL). By moving the SDA and SCL lines over to those two pins, autorun on power-up occurred with both the Pico and Pico W.
  2. The example code in the same section noted above had the frequency at 100 kHz. When the lines were moved and the frequency set to 100 kHz then the file main.py executed completely every time and both text and graphics were drawn on the attached …

Replies: 6 comments 17 replies

Comment options

You must be logged in to vote
9 replies
@robert-hh
Comment options

@wbeebe
Comment options

@wbeebe
Comment options

@robert-hh
Comment options

@robert-hh
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@wbeebe
Comment options

@robert-hh
Comment options

@robert-hh
Comment options

@wbeebe
Comment options

@scruss
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@robert-hh
Comment options

@wbeebe
Comment options

@scruss
Comment options

Answer selected by wbeebe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants