Menu

setAnalog

Majenko Technologies

Format

:::C
void setAnalog(int in);

Description

Set an IO channel to be an analog input. The input will accept voltages in the range 0 - 3.3V and represent the voltages as a value between 0 and 4095.

Example

setAnalog(4);

Related

Wiki: Firmware Functions

MongoDB Logo MongoDB