nuttx-apps/examples/pwm
Lucas Saavedra Vaz 0a7c308f1b examples/pwm: Fix PWM range
This commit fixes the overflow that happens when setting the duty cycle to 100% in the PWM example.
It now correctly passes the value 0xffff rather than 0x0000 when setting the duty cycle to 100 and makes sure that no underflow happens when setting the duty cycle to 0.
2023-07-14 01:25:05 +08:00
..
CMakeLists.txt add initial cmake build system 2023-07-08 13:52:02 +08:00
Kconfig pwm: update channel range with support of 0 and -1 2023-02-27 22:33:56 +08:00
Make.defs Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
pwm_main.c examples/pwm: Fix PWM range 2023-07-14 01:25:05 +08:00
pwm.h Update pwm.h 2023-03-07 10:00:43 +08:00