Skip to content

Commit

Permalink
LOW -> HIGH #24
Browse files Browse the repository at this point in the history
  • Loading branch information
krismaz committed Jan 2, 2018
1 parent 8bf204d commit 6ea9ac1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions SSR.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,21 @@ inline void SSRPhase(float diff)
digitalWrite(SSR_PINa, HIGH);
digitalWrite(SSR_PINb, HIGH);
digitalWrite(SSR_PINc, HIGH);
digitalWrite(LED_PINa, LOW);
digitalWrite(LED_PINa, HIGH);
} else if (diff > 3.0f){
digitalWrite(SSR_PINb, HIGH);
digitalWrite(SSR_PINc, HIGH);
digitalWrite(LED_PINb, LOW);
digitalWrite(LED_PINb, HIGH);
} else if (diff > 1.5f){
digitalWrite(SSR_PINa, HIGH);
digitalWrite(SSR_PINb, HIGH);
digitalWrite(LED_PINc, LOW);
digitalWrite(LED_PINc, HIGH);
} else if (diff > 0.5f){
digitalWrite(SSR_PINc, HIGH);
digitalWrite(LED_PINd, LOW);
digitalWrite(LED_PINd, HIGH);
} else {
digitalWrite(SSR_PINb, HIGH);
digitalWrite(LED_PINe, LOW);
digitalWrite(LED_PINe, HIGH);
}
}
}
Expand Down

0 comments on commit 6ea9ac1

Please sign in to comment.