Added the ADC_Setup() function to top of main().
This commit is contained in:
parent
7b1f76c470
commit
270856d85d
|
@ -36,6 +36,9 @@ void (*Delay_MicroSeconds)(double us) = _delay_us;
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
TriacOut_SetupPins();
|
||||||
|
ADC_Setup();
|
||||||
|
|
||||||
while(true){
|
while(true){
|
||||||
for(int i = 0; i < GatePulsesQty; i++){
|
for(int i = 0; i < GatePulsesQty; i++){
|
||||||
ZCD_Poll();
|
ZCD_Poll();
|
||||||
|
|
Loading…
Reference in New Issue