SSD1306: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 26: | Line 26: | ||
mkdir display | mkdir display | ||
cd display | cd display | ||
# fix missing font | |||
curl -sL https://github.com/adafruit/Adafruit_CircuitPython_framebuf/blob/master/examples/font5x8.bin?raw=true -o font5x8.bin | curl -sL https://github.com/adafruit/Adafruit_CircuitPython_framebuf/blob/master/examples/font5x8.bin?raw=true -o font5x8.bin | ||
</source> | </source> | ||
== show.py == | |||
<source lang='python'> | <source lang='python'> | ||
# Import all board pins. | # Import all board pins. | ||
| Line 69: | Line 71: | ||
oled.show() | oled.show() | ||
</source> | |||
<source lang='bash' highlight='1'> | |||
python3 show.py | |||
</source> | </source> | ||