NWAI_GetInput Function

Gets analog input (PA0-PA3)

Syntax

int NWAI_GetInput(int inpNum);

Parameters

int - number of input(0-3)

Return Value

int - 12-bit ADC conversion result, -1 if input number is incorrect)

Remarks

N/A

Requirements

nano_ai.h

Example

N/A