OASIS Command Reference

Analog

Name

analog - Convert one of the 8 OASIS3 analog channels and report its A/D value

Synopsis

analog <port_num>

Description

<port_num> is a number between 0 and 7 to designate which A/D port to convert

Converts the corresponding analog port and returns the A/D value.  The A/D converter is a 12 bit converter, so the corresponding value will be in the range of 0 to 4095.