diff --git a/NuEVI/NuEVI.ino b/NuEVI/NuEVI.ino index 2321a05..ce52779 100644 --- a/NuEVI/NuEVI.ino +++ b/NuEVI/NuEVI.ino @@ -1719,6 +1719,7 @@ void extraController() { exSensor = exSensor * 0.6 + 0.4 * touchRead(extraPin); // get sensor data, do some smoothing - SENSOR PIN 16 - PCB PIN "EC" (marked K4 on some prototype boards) exSensorIndicator = map(constrain(exSensor, extracThrVal, extracMaxVal), extracThrVal, extracMaxVal, 0, 127); if (pinkySetting == EC2){ + CC1sw = true; //send 0 or 127 on extra controller CC2 depending on pinky key touch if (pinkyKey && extraCT2) { if (lastPinkyKey != pinkyKey){ diff --git a/NuEVI/config.h b/NuEVI/config.h index 86d9cb4..cc2922d 100644 --- a/NuEVI/config.h +++ b/NuEVI/config.h @@ -47,7 +47,7 @@ #define ALK_BAT_FULL 2800 // about 4.6V #define NMH_BAT_FULL 2380 // about 3.9V -#define LIP_BAT_FULL 2550 // about 4.2V +#define LIP_BAT_FULL 2540 // about 4.2V #define ALK_BAT_LOW 2300 // about 3.8V #define NMH_BAT_LOW 2200 // about 3.6V #define LIP_BAT_LOW 2250 // about 3.7V