Table of Contents

Method AnalogWrite

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

AnalogWrite(int, int)

Writes an analog value as a PWM wave to the specified digital output pin.

public void AnalogWrite(int pin, int value)

Parameters

pin int

The number of the digital pin to write.

value int

A int value used to update the PWM signal.