multigcs / LinuxCNC-RIO

RealtimeIO for LinuxCNC based on an FPGA
https://forum.linuxcnc.org/18-computer/49142-linuxcnc-rio-realtimeio-for-linuxcnc-based-on-fpga-ice40-ecp5
GNU General Public License v2.0
72 stars 17 forks source link

Reverse output pwm #36

Closed Nvems closed 10 months ago

Nvems commented 10 months ago

Hi. Is there any way to set ouput pwm reverse 0% = 3.3v and 100% = 0V

I try json in example with invert= true The ouput still 0%=0v , 100%= 3.3V

multigcs commented 10 months ago

please try:

"invert_pwm": true,

sorry, a little bit confusing :(

Nvems commented 10 months ago

Oh, yes it work Thanks you