Table of Contents

PWM_RESET()

PWM_RESET() resets all PWM states managed by the core.

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

Built-in Commands in the Same Category

← Built-in Command List