Hz made less sense than milliseconds
This commit is contained in:
parent
61d4181864
commit
6b1b26fc0b
|
@ -9,11 +9,10 @@
|
||||||
#include "standard.hh" // Standard pins
|
#include "standard.hh" // Standard pins
|
||||||
|
|
||||||
// How often do you want to send an update?
|
// How often do you want to send an update?
|
||||||
// Bigger number: lower latency, but more bounces
|
// Smaller number: lower latency, but more bounces
|
||||||
// Smaller number: higher latency
|
// Bigger number: higher latency
|
||||||
// 50Hz feels pretty good to me
|
// 20ms feels pretty good to me
|
||||||
#define UPDATE_FREQ_HZ 50
|
#define UPDATE_INTERVAL_MS 20
|
||||||
#define UPDATE_INTERVAL_MS (1000 / UPDATE_FREQ_HZ)
|
|
||||||
|
|
||||||
InstrumentButtonState buttonState;
|
InstrumentButtonState buttonState;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue