Skip to content

Commit

Permalink
leave air vales open upon startup to avoid overheating due to extende…
Browse files Browse the repository at this point in the history
…d closed periods
  • Loading branch information
roblehmann committed Dec 15, 2015
1 parent 307b8b7 commit 10b2c2d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions pump.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,19 @@ sample pods
void pumpSetup()
{
// setup air pump
// airValve.attach(airValvePin);
pinMode(airValvePin, OUTPUT);
digitalWrite(airValvePin, LOW);
startAirPump();

// setup medium pump
pinMode(mediumPumpPin, OUTPUT);
digitalWrite(mediumPumpPin, LOW);
stopMediumPump();
}

//--------- air supply part ---------//
void startAirPump()
{
// air by pump on/off control
airPumpState = HIGH;
// air by pinch valv control
// airValve.write(airValveOpenAngle);
// air by pinch valve control
digitalWrite(airValvePin, LOW);
}

Expand All @@ -29,7 +27,6 @@ void stopAirPump()
// air by pump on/off control
airPumpState = LOW;
// air by pinch valv control
// airValve.write(airValveClosedAngle);
digitalWrite(airValvePin, HIGH);
}

Expand Down

0 comments on commit 10b2c2d

Please sign in to comment.