Skip to content

Instantly share code, notes, and snippets.

@boochow
Created June 23, 2018 11:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save boochow/f3bbd6a92216dbd4b97aad20cbd9f9e0 to your computer and use it in GitHub Desktop.
Save boochow/f3bbd6a92216dbd4b97aad20cbd9f9e0 to your computer and use it in GitHub Desktop.
from machine import I2C
i2c=I2C(1)
i2c.init(freq=1000000)
oled = SSD1306_I2C(128, 64, i2c)
console = FBConsole(oled)
os.dupterm(console)
@Hermann-SW
Copy link

Thanks, that code looks really interesting.
From this blog posting photo it can be seen that this really works:
https://blog.boochow.com/article/oled-console-mp-dupterm.html

I want to use FBConsole under MicroPython and did run into problems, can you help?
https://forum.micropython.org/viewtopic.php?f=16&t=2057&p=30603#p30603

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment