Created
July 30, 2023 13:06
-
-
Save narikakun/d7221d8b8d267210ac5eeda2edf78a0d to your computer and use it in GitHub Desktop.
Raspberry Pi Picoとnanoguilib
This file contains hidden or 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 nanoguilib.color_setup import ssd | |
from nanoguilib.nanogui import refresh | |
from nanoguilib.label import Label | |
from nanoguilib.writer import CWriter | |
import nanoguilib.freesans20 as freesans20 | |
from nanoguilib.colors import * | |
CWriter.set_textpos(ssd, 0, 0) | |
wri = CWriter(ssd, freesans20, GREEN, BLACK, verbose=False) | |
wri.set_clip(True, True, False) | |
ssd.fill(0) | |
Label(wri, 2, 2, 'Hello World') | |
refresh(ssd) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment