Bug fixes. Lipo full value adjustment. ECB setting for pinky key disabled extra controller.
This commit is contained in:
parent
4cb72f1112
commit
04191e064d
2 changed files with 2 additions and 1 deletions
|
@ -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){
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue