Update control waveform frequency
This commit is contained in:
parent
0f4a135ca9
commit
7fe4108d80
2
main.c
2
main.c
|
@ -92,9 +92,9 @@ 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
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue