AnalogUseConverter Method

Assigns a function to one or more analog inputs to convert the normal range of analog values from 0 to 1023, to another range of values.

Definition

Namespace: RoboTx.Api
Assembly: Robo-Tx.Api (in Robo-Tx.Api.dll) Version: 2.0.0+58b061ffe902bd370f7f9a4c58103d8e1f566889
C#
public void UseConverter(
	AnalogConverter converter,
	params AnalogInput[] input
)

Parameters

converter  AnalogConverter
A function that converts the analog values to another range of values.
input  AnalogInput
One or more analog inputs.

Exceptions

ArgumentNullExceptionconverter is null or input is null.

See Also