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 machine import ADC, Pin | |
| import time | |
| import badger2040 | |
| import badger_os | |
| display = badger2040.Badger2040() | |
| display.set_font("bitmap8") | |
| display.set_update_speed(badger2040.UPDATE_FAST) | |
| display.led(128) | |
| WIDTH = badger2040.WIDTH |