From 033cf655f4ff8a9c49749e493e2fed0952cbed09 Mon Sep 17 00:00:00 2001 From: Aleksander Belov Date: Fri, 17 Jan 2025 01:16:01 +0700 Subject: [PATCH] frequency of encoder ticks --- t_encoder.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t_encoder.ino b/t_encoder.ino index e36b2ba..15bc1db 100644 --- a/t_encoder.ino +++ b/t_encoder.ino @@ -1,4 +1,4 @@ -LP_TIMER(10, checkEncoder); +LP_TIMER(2, checkEncoder); void checkEncoder() { enc1.tick(); @@ -22,6 +22,7 @@ void handleExecutionSelection() { activeProfileIndex = 100; activeProfile = profiles[activeProfileIndex]; inSelectionMode = true; + Output = 0; writeEEPROM(); oled.clear(); displaySelection();