Created
December 17, 2019 19:52
-
-
Save amirgon/51299ce9b6448328a855826149482ae6 to your computer and use it in GitHub Desktop.
Hello World LittlevGL (assumes drivers are loaded and lv.init() was called)
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
scr = lv.obj() | |
btn = lv.btn(scr) | |
btn.align(scr, lv.ALIGN.CENTER, 0, 0) | |
label = lv.label(btn) | |
label.set_text('Hello World!') | |
lv.scr_load(scr) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment