AVR Library Command Reference
Table Of Contents
- Pololu AVR Library Command Reference
- 1. Introduction
- 2. Timing and Delays
- Reference
- 3. Orangutan Analog-to-Digital Conversion
- Reference
- 4. Orangutan Buzzer: Beeps and Music
- Reference
- 5. Orangutan LCD
- Reference
- 6. Orangutan LEDs
- Reference
- 7. Orangutan Motor Control
- Reference
- 8. Orangutan Pushbuttons
- Reference
- 9. Orangutan Serial Port Communication
- Reference
- 10. Orangutan System Resources
- 11. QTR Reflectance Sensors
- Reference
- 12. 3pi Robot Functions
- 13. Wheel Encoders
- 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










