Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6562d49a83
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (26 sloc) 0.569 kb
void expose() {
int iterations = timeOn *2;
float tempTime;
if (countMode == 0) {
tempTime = timeOn;
}
else if (countMode == 1) {
tempTime = 0;
}
for (int ctr = 0; ctr < iterations; ctr++) {
digitalWrite(relayPin, HIGH);
clearLCD();
selectLineOne();
if (countMode == 0) {
Serial.print(tempTime);
tempTime = tempTime - .5;
}
else if (countMode == 1) {
Serial.print(tempTime);
tempTime = tempTime + .5;
}
delay(500);
}
digitalWrite(relayPin, LOW);
setTime();
}
Jump to Line
Something went wrong with that request. Please try again.