User Manual

Pololu AVR C/C++ Library Users
Guide
View document on multiple pages. [https://www.pololu.com/docs/0J20]
View this document as a printable PDF: pololu_avr_library.pdf [https://www.pololu.com/docs/pdf/0J20/
pololu_avr_library.pdf]
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.a. Download Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.b. Manual Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3. Functional Overview and Example programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.a. Orangutan Analog Input Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.b. Orangutan Buzzer Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.c. Orangutan Digital I/O Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.d. Orangutan LCD Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.e. Orangutan LED Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.f. Orangutan Motor Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.g. Orangutan Pushbutton Interface Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.h. Orangutan Serial Port Communication Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.i. Orangutan Servo Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.j. Orangutan SVP Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.k. Pololu QTR Sensor Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.l. Pololu Wheel Encoder Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4. Using the Pololu AVR Library for your own projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5. Compiling the Pololu AVR Library (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6. Additional resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Pololu AVR C/C++ Library Users Guide © 2001–2015 Pololu Corporation
https://www.pololu.com/docs/0J20/all Page 1 of 43

Summary of content (43 pages)