Skip to content

Commit

Permalink
Pin-mode and all-on for #24
Browse files Browse the repository at this point in the history
  • Loading branch information
krismaz committed Jan 5, 2018
1 parent 6ea9ac1 commit dbc2ef4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions SSR.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ inline void SSRInit()
pinMode(SSR_PINb, OUTPUT);
pinMode(SSR_PINc, OUTPUT);

pinMode(LED_PINa, OUTPUT);
pinMode(LED_PINb, OUTPUT);
pinMode(LED_PINc, OUTPUT);
pinMode(LED_PINd, OUTPUT);
pinMode(LED_PINe, OUTPUT);

digitalWrite(SSR_PINa, LOW);
digitalWrite(SSR_PINb, LOW);
digitalWrite(SSR_PINc, LOW);
Expand All @@ -30,6 +36,12 @@ inline void SSROn()
digitalWrite(SSR_PINa, HIGH);
digitalWrite(SSR_PINb, HIGH);
digitalWrite(SSR_PINc, HIGH);

digitalWrite(LED_PINa, HIGH);
digitalWrite(LED_PINb, HIGH);
digitalWrite(LED_PINc, HIGH);
digitalWrite(LED_PINd, HIGH);
digitalWrite(LED_PINe, HIGH);
}

inline void SSROff()
Expand Down

0 comments on commit dbc2ef4

Please sign in to comment.