mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
6ba4225eed
The ATmega PWM implementation only supports a maximum resolution of 256. Thus when running `osci` with `OSC_STEPS` = 1000 an assertion will fail and the test crashes, even though the PWM peripheral works perfectly fine. Limit OSC_STEPS to 256 so it works on all platforms. The LED flashing doesn't look any more coarse. |
||
---|---|---|
.. | ||
main.c | ||
Makefile | ||
Makefile.ci | ||
README.md |
Expected result
If everything is running as supposed to, you should see a 1KHz PWM with oscillating duty cycle on each channel of the selected PWM device.
Background
Test for the low-level PWM driver.