Skip to content

Instantly share code, notes, and snippets.

@hierophect
Created September 10, 2020 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hierophect/be399e60cca98009ce996acb527f0f43 to your computer and use it in GitHub Desktop.
Save hierophect/be399e60cca98009ce996acb527f0f43 to your computer and use it in GitHub Desktop.
Testing script
import board
import busio
import displayio
import adafruit_displayio_ssd1306
displayio.release_displays()
print(dir(board))
i2c = busio.I2C(board.IO8, board.IO9)
display_bus = displayio.I2CDisplay(i2c, device_address=0x3c)
display = adafruit_displayio_ssd1306.SSD1306(display_bus, width=128, height=32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment