midi_controller

Teensy simple midi controller
git clone https://git.onna.be/midi_controller.git
Log | Files | Refs

commit 685970fa42eecb684f1666d54fb43e4f736d5cc8
parent 1c472ce77fcb9c17539165089ff191c0f45d06ba
Author: Paco Esteban <paco@onna.be>
Date:   Wed, 20 Feb 2019 10:15:30 +0100

no need to wait so much to read pots, 5ms is more than enough

Diffstat:
src/midi_controller/midi_controller.ino | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/midi_controller/midi_controller.ino b/src/midi_controller/midi_controller.ino @@ -47,7 +47,7 @@ void setup() { void loop() { unsigned long currentMillis = millis(); - if(currentMillis - previousMillis > 20) { + if(currentMillis - previousMillis > 5) { // moaaarrr stability in readings previousMillis = currentMillis; readPots(); }