From f06eb0b9a4aa08e7ad0527b45f42f716a5b888ed Mon Sep 17 00:00:00 2001 From: Johan Berglund Date: Thu, 21 Mar 2019 09:28:21 +0100 Subject: [PATCH] Cleanup --- NuEVI/NuEVI.ino | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/NuEVI/NuEVI.ino b/NuEVI/NuEVI.ino index 656d0a0..3d7e194 100644 --- a/NuEVI/NuEVI.ino +++ b/NuEVI/NuEVI.ino @@ -369,16 +369,17 @@ void setup() { pinMode(uPin, INPUT_PULLUP); pinMode(mPin, INPUT_PULLUP); - pinMode(bLedPin, OUTPUT); // breath indicator LED - pinMode(pLedPin, OUTPUT); // portam indicator LED - pinMode(statusLedPin,OUTPUT); // Teensy onboard LED + pinMode(bLedPin, OUTPUT); // breath indicator LED + pinMode(pLedPin, OUTPUT); // portam indicator LED + pinMode(statusLedPin,OUTPUT); // Teensy onboard LED + pinMode(dacPin, OUTPUT); //DAC output for analog signal + pinMode(pwmDacPin, OUTPUT); //PWMed DAC output for analog signal pinMode(biteJumperPin, INPUT_PULLUP); //PBITE - pinMode(biteJumperGndPin, OUTPUT); //PBITE - digitalWrite(biteJumperGndPin, LOW); //PBITE + pinMode(biteJumperGndPin, OUTPUT); //PBITE + digitalWrite(biteJumperGndPin, LOW); //PBITE // if stored settings are not for current version, or Enter+Menu are pressed at startup, they are replaced by factory settings -// if stored settings are not for current version, or Enter+Menu are pressed at startup, they are replaced by factory settings if (((readSetting(VERSION_ADDR) != VERSION) && (readSetting(VERSION_ADDR) < 24)) || (!digitalRead(ePin) && !digitalRead(mPin))) { writeSetting(VERSION_ADDR,VERSION);