Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import board
- import busio as io
- import adafruit_ssd1306
- import bitmapfont
- i2c = io.I2C(board.SCL, board.SDA)
- oled = adafruit_ssd1306.SSD1306_I2C(128, 32, i2c)
- bf = bitmapfont.BitmapFont(128, 32, oled.pixel)
- bf.init()
- oled.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement