Table of Contents

Method AnalogRead

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

AnalogRead(int)

Returns the current value of the specified analog pin.

public int AnalogRead(int pin)

Parameters

pin int

The number of the analog pin to read.

Returns

int

A int value representing a digitized analog measurement.