You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Add draft_code
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Create a dropdown
|
||||
dropdown = lv.dropdown(lv.screen_active())
|
||||
dropdown.set_options("Option 1\nOption 2\nOption 3")
|
||||
dropdown.align(lv.ALIGN.CENTER, 0, 0)
|
||||
|
||||
|
||||
switch = lv.switch(lv.screen_active())
|
||||
switch.center()
|
||||
|
||||
Reference in New Issue
Block a user