diff --git a/src/main.c b/src/main.c index b7cc1a7..e33d3b5 100644 --- a/src/main.c +++ b/src/main.c @@ -48,10 +48,11 @@ int main(int argc, char **argv) //The G1 pin is low at this point. _delay_ms(2500); + //EnOut_SetAllHigh(); //Sets G1 High Enable_SetPinsHigh(); - ZCD_Poll(); - + while(true){ + ZCD_Poll(); //Enable pins are enabled(set high) if the ADCLOAD value is valid. _delay_us(Tau); Load_HandleLoadPortA(ADC_LOAD1, EN1);