User Manual

Pololu AVR C/C++ Library
Users Guide
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.d. Orangutan LCD Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.e. Orangutan LED Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.f. Orangutan Motor Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.g. Orangutan Pushbutton Interface Functions . . . . . . . . . . . . . . . . . . . . . . . . 28
3.h. Orangutan Serial Port Communication Functions . . . . . . . . . . . . . . . . . . . . . 29
3.i. Orangutan Servo Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.j. Orangutan SVP Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.k. Pololu QTR Sensor Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.l. Pololu Wheel Encoder Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4. Using the Pololu AVR Library for your own projects . . . . . . . . . . . . . . . . . . . . . . . 51
5. Compiling the Pololu AVR Library (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
6. Additional resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Pololu AVR C/C++ Library User’s Guide © 2001–2019 Pololu Corporation
https://www.pololu.com/docs/0J20/all Page 1 of 56

Summary of content (56 pages)