From 2beb0639ea636a0b20829e6e3022a5dab870a67a Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Thu, 10 Apr 2025 15:07:27 -0600 Subject: [PATCH] Boost CPU frequency for faster response times --- src/dimensioner/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dimensioner/main.py b/src/dimensioner/main.py index 634933e..c63224c 100644 --- a/src/dimensioner/main.py +++ b/src/dimensioner/main.py @@ -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 #