toradex / torizon-samples

All sample code related to TorizonCore project.
The Unlicense
32 stars 24 forks source link

pwm: C: Improve code flexibility #10

Closed otaviocp closed 1 year ago

otaviocp commented 1 year ago

Get PWM values from CLI arguments (frequency in Hz and duty cycle in percent). Also, add comments and other minor changes.

andreriesco commented 1 year ago

LGTM