AVR Library Command Reference

3. Orangutan Analog-to-Digital Conversion
The OrangutanAnalog class and the C functions in this section allow easy access to the analog inputs on the
Orangutan controllers and 3pi. These functions take care of configuring and running the analog-to-digital converters,
but they do not automatically set the ports to be inputs or enable/disable the pull-up resistors. By default, all ports on
the Orangutan are set to inputs, and the pull-ups are turned off, so no additional configuration is needed for most
applications.
For a higher level overview of this library and example programs that show how this library can be used, please see
Section 5.a of the guide to Programming Orangutans and the 3pi Robot from the Arduino
Environment [http://www.pololu.com/docs/0J17] or Section 6.c of the Pololu AVR C/C++ Library User’s
Guide [http://www.pololu.com/docs/0J20].
Pololu AVR Library Command Reference © 2001–2009 Pololu Corporation
3. Orangutan Analog-to-Digital Conversion Page 5 of 35