COVID-19 impact: We are still operating and shipping all orders. We have reduced our on-site staff, so for critical requirements, please contact us so we can identify priorities. Click here for more info.

7. A-Star 32U4 Arduino library

The A-Star 32U4 can be programmed from the Arduino IDE as described in the preceding sections.

To help interface with all the on-board hardware on the A-Star 32U4, we provide the AStar32U4 library. The AStar32U4 library documentation provides detailed information about the library, and the library comes with several example sketches.

If you are using version 1.6.2 or later of the Arduino software (IDE), you can use the Library Manager to install this library:

  1. In the Arduino IDE, open the “Sketch” menu, select “Include Library”, then “Manage Libraries…”.
  2. Search for “AStar32U4”.
  3. Click the AStar32U4 entry in the list.
  4. Click “Install”.

If this does not work, you can manually install the library:

  1. Download the latest release archive from GitHub and decompress it.
  2. Rename the folder “a-star-32u4-arduino-library-master” to “AStar32U4”.
  3. Move the “AStar32U4” folder into the “libraries” directory inside your Arduino sketchbook directory. You can view your sketchbook location by opening the “File” menu and selecting “Preferences” in the Arduino IDE. If there is not already a “libraries” folder in that location, you should make the folder yourself.
  4. After installing the library, restart the Arduino IDE.

After you install the AStar32U4 library, you can learn more about it by trying the included example sketches and by reading the AStar32U4 library documentation.

Related Products

A-Star 32U4 Micro
A-Star 32U4 Mini SV
A-Star 32U4 Mini ULV
A-Star 32U4 Mini LV
A-Star 32U4 Mini SV (ac02c)
A-Star 32U4 Prime LV (SMT Components Only)
A-Star 32U4 Prime LV (SMT Components Only) (ac03b)
A-Star 32U4 Prime LV microSD (SMT Components Only) (ac03b)
A-Star 32U4 Prime LV microSD (SMT Components Only)
A-Star 32U4 Prime LV (ac03b)
A-Star 32U4 Prime LV
A-Star 32U4 Prime LV microSD (ac03b)
A-Star 32U4 Prime LV microSD
A-Star 32U4 Prime LV microSD with LCD
A-Star 32U4 Prime LV microSD with LCD (ac03b)
A-Star 32U4 Prime SV (SMT Components Only)
A-Star 32U4 Prime SV microSD (SMT Components Only)
A-Star 32U4 Prime SV
A-Star 32U4 Prime SV microSD
A-Star 32U4 Prime SV microSD with LCD
A-Star Prime Accessory Pack
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors