Created
September 10, 2020 19:56
-
-
Save hierophect/be399e60cca98009ce996acb527f0f43 to your computer and use it in GitHub Desktop.
Testing script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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