Skip to content

Conversation

robert-hh
Copy link
Contributor

The pins numbers of the example code in sh1106.py did not match the
RP2040 pins. Instead, pin numbers suitable for ESP8266 were listed.

The pins numbers of the example code did not match the RP2040.
This is fixed now.
@aallan aallan linked an issue Apr 26, 2021 that may be closed by this pull request
@aallan
Copy link
Contributor

aallan commented Apr 26, 2021

LGTM. @lurch?

@lurch
Copy link
Contributor

lurch commented Apr 26, 2021

I don't have a SH1106 with which to test, but yeah this LGTM 👍

@robert-hh
Copy link
Contributor Author

I tested that sample code using a SH1106 with both I2C and SPI settings.

@aallan aallan merged commit 9f2c3f0 into raspberrypi:master Apr 26, 2021
@aallan
Copy link
Contributor

aallan commented Apr 26, 2021

Merged. It'll get pulled into the PDF documentation on the next public release.

@lurch
Copy link
Contributor

lurch commented Apr 26, 2021

(it's only the README.adoc that gets pulled into the PDF documentation, which this PR hasn't modified 😉 )

@aallan
Copy link
Contributor

aallan commented Apr 26, 2021

The code also gets pulled into the PDF. You should remember that, you wrote the scripting. 😄

Screenshot 2021-04-26 at 13 44 05

@lurch
Copy link
Contributor

lurch commented Apr 26, 2021

Oh! I'd forgotten that 😆 🤣 🍳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong pins on sh1106 spi example
3 participants