Added the ADC_Setup() function to top of main().

This commit is contained in:
jakeg00dwin 2024-07-28 17:43:30 -07:00
parent 7b1f76c470
commit 270856d85d
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ void (*Delay_MicroSeconds)(double us) = _delay_us;
int main(int argc, char **argv)
{
TriacOut_SetupPins();
ADC_Setup();
while(true){
for(int i = 0; i < GatePulsesQty; i++){
ZCD_Poll();