How to control PWM using VOXL2 IO expander ?
-
Hi
I use voxl2 board to connect voxl2 io expander board at J19.
I would like to control PWM signal by "qshell pwm" command first. How to do it ?I use below command to do it, but there is no any PWM signal change.
qshell px4io detect
After this command, PWM output 50Hz signal
qshell px4io start
qshell mixer load /dev/px4io quad_x_io.main.mix
qshell pwm rate -c 1234 -r 400
I try the -c <pwm_ouput>, there is no any PWM signal change. -
@winnie-tsai
I can change the frequency by the qshell commandqshell pwm -a -r <rate>
another, I would like to know how to change the PWM duty cycle.
Thanks