This is a simple low-frequency PWM-write made from nodes of the standard library. I use it for ESP32 because the standard pwm-write node doesn't work. The effective frequency is 100-200 Hz. Duty cycle varies from 16...83%. Also accepts discrete 0s and 1s. I checked the result of the node's operation with an oscilloscope.
Node | Description |
---|
main | No description |
pwm | This is a simple low-frequency PWM-write made from nodes of the standard library. I use it for ESP32 because the standard pwm-write node doesn't work. The effective frequency is 100-200 Hz. Duty cycle varies from 16...83%. Also accepts discrete 0s and 1s. I checked the result of the node's operation with an oscilloscope. |
To use the nodes in your project you should have the
nazarijtipusak080/universal-pwm
library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See
Using libraries for more info.