robertobucher / pysimCoder

Block diagram editor and real time code generator for Python
GNU General Public License v3.0
142 stars 31 forks source link

CodeGen/nuttx/devices/nuttx_PWM.c: init channels with PWM_DCPOL_LOW #72

Closed zdebanos closed 5 months ago

zdebanos commented 5 months ago

By this time, the dcpol attribute has been accepted into the NuttX mainline. This way, the default state of the PWM channel in the disabled state is the logical zero.

TODO: make this configurable in the GUI.