@@ -369,16 +369,17 @@ void setup() {
369369 pinMode (uPin, INPUT_PULLUP);
370370 pinMode (mPin , INPUT_PULLUP);
371371
372- pinMode (bLedPin, OUTPUT); // breath indicator LED
373- pinMode (pLedPin, OUTPUT); // portam indicator LED
374- pinMode (statusLedPin,OUTPUT); // Teensy onboard LED
372+ pinMode (bLedPin, OUTPUT); // breath indicator LED
373+ pinMode (pLedPin, OUTPUT); // portam indicator LED
374+ pinMode (statusLedPin,OUTPUT); // Teensy onboard LED
375+ pinMode (dacPin, OUTPUT); // DAC output for analog signal
376+ pinMode (pwmDacPin, OUTPUT); // PWMed DAC output for analog signal
375377
376378 pinMode (biteJumperPin, INPUT_PULLUP); // PBITE
377- pinMode (biteJumperGndPin, OUTPUT); // PBITE
378- digitalWrite (biteJumperGndPin, LOW); // PBITE
379+ pinMode (biteJumperGndPin, OUTPUT); // PBITE
380+ digitalWrite (biteJumperGndPin, LOW); // PBITE
379381
380382 // if stored settings are not for current version, or Enter+Menu are pressed at startup, they are replaced by factory settings
381- // if stored settings are not for current version, or Enter+Menu are pressed at startup, they are replaced by factory settings
382383
383384 if (((readSetting (VERSION_ADDR) != VERSION) && (readSetting (VERSION_ADDR) < 24 )) || (!digitalRead (ePin) && !digitalRead (mPin ))) {
384385 writeSetting (VERSION_ADDR,VERSION);
0 commit comments