From c94795ff6049bf2d9d797e9ac5fdd0dbd8539a56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20St=C3=A4ck?= Date: Mon, 4 Mar 2019 08:53:52 +0100 Subject: [PATCH] Use large enough data type --- NuEVI.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NuEVI.ino b/NuEVI.ino index 5baf1bd..3dffad3 100644 --- a/NuEVI.ino +++ b/NuEVI.ino @@ -348,8 +348,8 @@ byte slurSustain = 0; byte parallelChord = 0; byte subOctaveDouble = 0; -byte breathLedBrightness = 2000; // up to 4095, PWM -byte portamLedBrightness = 2000; // up to 4095, PWM +int breathLedBrightness = 2000; // up to 4095, PWM +int portamLedBrightness = 2000; // up to 4095, PWM Adafruit_MPR121 touchSensor = Adafruit_MPR121(); // This is the 12-input touch sensor FilterOnePole breathFilter;