Mike Bell
179796b80f
Very Slow to 4MHz, fix linter error
2022-03-30 00:27:28 +01:00
Mike Bell
b78b292ff8
Don't slow down the system clock too much at the top of launcher - there's no need to save battery if the app will switch the badger off when it's finished anyway.
2022-03-29 23:16:18 +01:00
Mike Bell
c1c1b9f1bc
Badger2040: Use new system speed call in examples and document it.
2022-03-29 23:16:18 +01:00
Mike Bell
7720bbe602
Simplify Badger Wake on the C++ side, tidy up X_to_wake on the python interface
2022-03-26 12:45:25 +00:00
Phil Howard
3042191c7e
Badger2040: Fix exit to launcher.
2022-03-25 15:14:34 +00:00
Phil Howard
5c2cc7ebf8
Badger2040: Improve launcher.
2022-03-25 14:55:56 +00:00
Phil Howard
b85792f254
Badger2040: JSON app state.
2022-03-25 14:25:27 +00:00
Phil Howard
a862a6d310
Badger2040: Use Act LED in Launcher
2022-03-25 11:09:44 +00:00
Mike Bell
d313a9d871
Quit app on A+C pressed using an interrupt handler.
...
Note if apps set up their own interrupt handlers then they take precedence, but in that case the app should be responsible for quitting.
2022-03-25 01:05:55 +00:00
Mike Bell
e19fe9cb73
Apparently Thonny doesn't clear blank lines on save
2022-03-25 00:29:09 +00:00
Mike Bell
994ddba0e1
Badge, image and launcher all now sleep when on battery
2022-03-25 00:26:48 +00:00
Phil Howard
5bd13a5cd1
Badger2040: Create badger_os utils module.
2022-03-24 23:20:46 +00:00
Mike Bell
40d22a02ff
Appease the linter
2022-03-23 22:42:46 +00:00
Mike Bell
51b0e472e1
Add ability to halt the Badger from Micropython and get wake button presses. Change badge app to halt when image displayed
2022-03-23 00:30:07 +00:00
Andy Piper
122c96f4e5
flake8 format/lint
2022-03-13 20:59:57 +00:00
Andy Piper
079be62746
Fix filenames in examples README
...
Add formatting and info to examples README
Add user button to button test example
Add voltage comments for battery in examples
2022-03-13 17:22:59 +00:00
Phil Howard
d3ac1b63be
qrcode: Rename & improve example
2022-03-11 12:52:29 +00:00
Phil Howard
3c70a3847e
qrcode: Add example to badgerOS
2022-03-11 12:52:29 +00:00
Phil Howard
ee9270b283
Badger2040: Fix bugs in Launcher
2022-03-01 15:55:24 +00:00
Phil Howard
6e7d8a1682
Badger2040: Allow builtin demos to be replaced
2022-03-01 15:18:40 +00:00
Phil Howard
d99c7bc3cb
Badger2040: Help and Info stubs, cleanup launcher icons
2022-02-25 15:46:04 +00:00
Phil Howard
e44017e0a0
Badger2040: Add launcher dark mode, USER button is shift
2022-02-25 14:57:43 +00:00
Phil Howard
b2fed2b6dc
Badger2040: Add launcher disk usage
2022-02-25 14:49:38 +00:00
Phil Howard
169e332917
Badger2040: Add Medium speed, drop spicy super turbo
2022-02-25 13:37:35 +00:00
Phil Howard
2756860090
Badger2040: Launcher tweaks
2022-02-25 11:08:32 +00:00
Phil Howard
f2f3e065d5
Badger2040: Tweak examples
2022-02-25 11:08:32 +00:00
Phil Howard
64cbee7d2b
Badger2040: Add battery status to launcher
2022-02-25 11:08:32 +00:00
Phil Howard
2efd7b9655
Badger2040: Fix examples & prep for baking
2022-02-25 11:08:32 +00:00
Phil Howard
a4f7d05fe5
Badger2040: Move startup block on held buttons to launcher.py
...
Blocking on held buttons is bad for MicroPython, since it makes nothing happen on startup-
We need the button to be held but are waiting for a button release after some arbitrary amount of time.
Additionally running code while holding down a button would block normal MicroPython event execution and crash the host's USB bus quite severely.
2022-02-25 11:08:32 +00:00
Phil Howard
167bfbb781
Badger2040: Lint examples, launcher tweaks
2022-02-25 11:08:32 +00:00
Phil Howard
6ff5c39c1b
Badger2040: Bugfixes, danger LUTs, examples
2022-02-25 11:08:32 +00:00