Added a call to set the TriacPins high in main.
This commit is contained in:
parent
5405e4b8b6
commit
c4ffb855e0
|
@ -52,6 +52,7 @@ int main(int argc, char **argv)
|
||||||
_delay_ms(2500);
|
_delay_ms(2500);
|
||||||
ZCD_Poll();
|
ZCD_Poll();
|
||||||
TriacOut_SetupPins();
|
TriacOut_SetupPins();
|
||||||
|
TriacOut_SetAllHigh();
|
||||||
|
|
||||||
//Constantly ensure the loads are in a valid range.
|
//Constantly ensure the loads are in a valid range.
|
||||||
while(true){
|
while(true){
|
||||||
|
|
Loading…
Reference in New Issue