lpwc - List the PWM system channel allocations
List the PWM channel allocations on the esp32. The esp32 can handle a maximum of 6 pwm chans.
lpwi - List the PWM system settings info
Purpose Display the settings being used by the PWM system.
mfreq - Set PWM freq for the Drive Motors
This sets the pwm frequency for the main drive motors. NOTE: the updated freq gets picked up by the relevant functions.
The frequency to use for the pwm main drive system. 50 to 5000Hz.
pfreq - Set PWM freq for the I/O Ports
This sets the pwm freq for the pwm command.
The frequency to use for the pwm system. 50 to 5000Hz.
pwm - Pulse width modulation on a pin
pwm allows a pulse width modulated (PWM) signal to be applied to a pin.
pwm #~ duty
The port letter a, b, c, d and pin number 1 to 5. eg a1 or c4
duty The duty cycle from 0 to 100. Pushers No Returns Nothing
Examples pwm a1 50 Set pin a1 at 50% pwm d1 75 Set the USER LED at 75% brightness pwm a3 /speed Use the /speed variable to set the pwm duty on pin a3