====== PWM_RESET() ====== ''PWM_RESET()'' resets all PWM states managed by the core. {{:en-us_commands:reference:pwm_reset.svg?900|PWM_RESET command operation flow}} ''void PWM_RESET()'' ===== Commands ===== ^ Command ^ Arguments ^ Return Value ^ Operation ^ | ''PWM_RESET()'' | None | ''void'' | Resets all PWM states managed by the core. | ===== Example ===== void setup() { PWM_RESET(); // Reset all PWM states managed by the core. } void loop() { PWM(5, 127); // 8bit duty FDPWM(6, 1000, 50.0); // 1kHz, 50% } ===== Precautions ===== * Check product-specific PWM pins and timer sharing. * Changing frequency or resolution may also affect other channels on the same timer. * Ensure the connected load is safe when stopping or resetting outputs. ===== Built-in Commands in the Same Category ===== * [[:en-us_commands:reference:pwm|PWM() View detailed description]] * [[:en-us_commands:reference:fdpwm|FDPWM() View detailed description]] * [[:en-us_commands:reference:pwmoff|PWMOFF() View detailed description]] [[:en-us_commands:builtin|← Built-in Command List]]