This commit is contained in:
parent
96153945bc
commit
fc95e07e71
9
main.c
9
main.c
|
@ -44,6 +44,15 @@ int main(int argc, char **argv)
|
||||||
TriacOut_SetAllHigh();
|
TriacOut_SetAllHigh();
|
||||||
TriacOut_PulsePins(GatePulses[i]);
|
TriacOut_PulsePins(GatePulses[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Thes G1-G3 pins are low at this point.
|
||||||
|
_delay_ms(2500);
|
||||||
|
ZCD_Poll();
|
||||||
|
TriacOut_SetupPins();
|
||||||
|
TriacOut_SetAllHigh();
|
||||||
|
while(true){
|
||||||
|
;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue