Can I read PWM Control and ADC Filtering Code on EtoBox?
PWM Control and ADC Filtering Code by p24ee0202 is a document available to read on EtoBox.
What is PWM Control and ADC Filtering Code about?
The document describes an Arduino program that sets up PWM on pins D9 and D10 at 90kHz with a 50% duty cycle, where D10 has inverted PWM. It reads an ADC value from pin A0, applies a 3rd order moving average filter, and displays the filtered value on the Serial Monitor at 9600 baud. The PWM is started or stopped based on the filtered ADC value exceeding 500.
- Author
- p24ee0202
- Language
- EN