User Manual

Select the file that matches the microcontroller you are programming and click “add library” to add it to
your project.
Note:
3pi robots with serial numbers less than 0J5840 use the ATmega168 microcontroller; 3pi
robots with serial number 0J5840 or greater use the ATmega328P microcontroller.
Original Orangutan X2s use the ATmega644P microcontroller; new X2s use the
ATmega1284P microcontroller and require you link the libpololu_atmega1284p_x2.a library
file.
The Orangutan SVP-1284 requires you link the libpololu_atmega1284p.a library file.
AVR Studio 4 library settings for using the Pololu AVR library (libpololu).
Finally, we also strongly recommend the linker option -Wl,-gc-sections . This causes unused library
functions to not be included, resulting in a much smaller code size. To include this in AVR Studio 4,
select Project > Configuration Options > Custom Options. Click on [Linker options] and add -Wl,-
Pololu AVR C/C++ Library User’s Guide © 2001–2019 Pololu Corporation
4. Using the Pololu AVR Library for your own projects Page 52 of 56