Hz made less sense than milliseconds
This commit is contained in:
parent
61d4181864
commit
6b1b26fc0b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue