Browse Source

ESPlive ADC config

fastled
Mitchell A. Cox 7 years ago
parent
commit
0d08dbdf04
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      code/espurna/espurna.ino

+ 5
- 0
code/espurna/espurna.ino View File

@ -43,6 +43,11 @@ void hardwareSetup() {
SPIFFS.begin();
#endif
#if defined(EPSLIVE)
//The ESPLive has an ADC MUX which needs to be configured.
pinMode(16, OUTPUT);
digitalWrite(16, HIGH); //Defualt CT input (pin B, solder jumper B)
#endif
}
void hardwareLoop() {


Loading…
Cancel
Save