On Thu, Mar 28, 2019 at 10:50 AM Paul Steinke <[email protected]> wrote:
>
> By 'this', I mean the following:
>     config-pin P9.14 pwm
>     cd /sys/devices/platform/ocp/48302000.epwmss/48302200.pwm/pwm/pwmchip*/
>     echo 0 > export
>     echo 20000 > pwm*/period
>     echo 10000 > pwm*/duty_cycle
>     echo 1 > pwm*/enable

c has a system function.

https://www.tutorialspoint.com/c_standard_library/c_function_system.htm

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjdArT%2BPttQXWjj6-wF2WDakdWAk%2BTYJGjsAS4-GcsgTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to