Guest User

Untitled

a guest
Jun 24th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. from machine import I2C
  2. i2c=I2C(1)
  3. i2c.init(freq=1000000)
  4. oled = SSD1306_I2C(128, 64, i2c)
  5. console = FBConsole(oled)
  6. os.dupterm(console)
Add Comment
Please, Sign In to add comment