From 6b1b26fc0b63afb860f171518580897441e09ab6 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Sun, 31 Dec 2023 20:39:45 -0700 Subject: [PATCH] Hz made less sense than milliseconds --- MockBand.ino | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/MockBand.ino b/MockBand.ino index 0307471..c88a920 100644 --- a/MockBand.ino +++ b/MockBand.ino @@ -9,11 +9,10 @@ #include "standard.hh" // Standard pins // How often do you want to send an update? -// Bigger number: lower latency, but more bounces -// Smaller number: higher latency -// 50Hz feels pretty good to me -#define UPDATE_FREQ_HZ 50 -#define UPDATE_INTERVAL_MS (1000 / UPDATE_FREQ_HZ) +// Smaller number: lower latency, but more bounces +// Bigger number: higher latency +// 20ms feels pretty good to me +#define UPDATE_INTERVAL_MS 20 InstrumentButtonState buttonState;