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: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
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