Created
June 23, 2018 11:13
-
-
Save boochow/f3bbd6a92216dbd4b97aad20cbd9f9e0 to your computer and use it in GitHub Desktop.
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
from machine import I2C | |
i2c=I2C(1) | |
i2c.init(freq=1000000) | |
oled = SSD1306_I2C(128, 64, i2c) | |
console = FBConsole(oled) | |
os.dupterm(console) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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