Boost CPU frequency for faster response times

This commit is contained in:
Skylar Ittner 2025-04-10 15:07:27 -06:00
parent 5fb35c96cb
commit 2beb0639ea

View File

@ -87,6 +87,8 @@ ZERO_BUTTON_PIN = 13 # Pin to read if hardware zero button is pressed
UNITS_BUTTON_PIN = 14 # Pin to read if hardware unit change button is pressed
FIRMWARE_VERSION = "1.0"
machine.freq(240000000) # Set CPU to 240MHz (about twice as fast as default)
#
# USB configuration
#