diff --git a/micropython/examples/badger2040/clock.py b/micropython/examples/badger2040/clock.py index 973e1d48..0865780b 100644 --- a/micropython/examples/badger2040/clock.py +++ b/micropython/examples/badger2040/clock.py @@ -2,6 +2,8 @@ import time import machine import badger2040 +# We're going to keep the badger on, so slow down the system clock if on battery +badger2040.system_speed(badger2040.SYSTEM_SLOW) rtc = machine.RTC() display = badger2040.Badger2040() diff --git a/micropython/examples/badger2040/launcher.py b/micropython/examples/badger2040/launcher.py index 221480a1..4786ac68 100644 --- a/micropython/examples/badger2040/launcher.py +++ b/micropython/examples/badger2040/launcher.py @@ -7,8 +7,8 @@ from badger2040 import WIDTH import launchericons import badger_os -# Reduce clock speed to 48MHz if on USB or 12MHz if on battery -badger2040.system_speed(badger2040.SYSTEM_SLOW) +# Reduce clock speed to 48MHz +badger2040.system_speed(badger2040.SYSTEM_NORMAL) changed = False exited_to_launcher = False