Update control waveform frequency
This commit is contained in:
parent
0f4a135ca9
commit
7fe4108d80
2
main.c
2
main.c
|
@ -92,10 +92,10 @@ void WAVEFORM(void) // DEFINE ANALOG WAVEF
|
||||||
if (samples[i] > 4095) // RESET IF SAMPLE VALUE ABOVE MAXIMUM LIMIT
|
if (samples[i] > 4095) // RESET IF SAMPLE VALUE ABOVE MAXIMUM LIMIT
|
||||||
{ samples[i] = 0;
|
{ samples[i] = 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
delay(1000); // DELAY TO CONTROL WAVEFORM FREQUENCY
|
delay(1000); // DELAY TO CONTROL WAVEFORM FREQUENCY
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
|
|
Loading…
Reference in New Issue