Advertisement
Guest User

Untitled

a guest
May 25th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. import board
  2. import busio as io
  3. import adafruit_ssd1306
  4. import bitmapfont
  5.  
  6. i2c = io.I2C(board.SCL, board.SDA)
  7. oled = adafruit_ssd1306.SSD1306_I2C(128, 32, i2c)
  8.  
  9. bf = bitmapfont.BitmapFont(128, 32, oled.pixel)
  10. bf.init()
  11.  
  12.  
  13.  
  14. oled.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement