| Command | Arguments | Return Value | Operation |
|---|---|---|---|
NPWM(pin) | uint8_t pin | void | Outputs the prepared number of pulses. |
void setup() { NPWM_BEGIN(0, 1000, 50.0F, 100); // Prepare pulse output with the specified frequency, duty cycle and pulse count. } void loop() { NPWM(0); // Output the configured number of pulses. }