
enough. If this happens, try again. If you are using Windows XP and have not programmed an A-Star on this
USB port, you will have to go through the Found New Hardware Wizard again as described in the previous
section, but the second time you try to upload it should work. If the Arduino IDE has trouble connecting
to the port or using it, try unplugging the device, closing any programs that might be using the serial port,
restarting the Arduino IDE, and then plugging the device back in.
Uploading a sketch to the A-Star using the Arduino IDE.
8. If you uploaded the Blink sketch, then the yellow LED should be blinking once every two seconds.
However, we ship some A-Stars with that same example already programmed onto it, so you might not be
convinced that anything has changed. Try changing the delay values in the sketch to something else and
uploading again to see if you can change the speed of the LED.
The A-Star 32U4 boards are similar enough to the Arduino Leonardo that you do not actually
have to install the add-on. If you want to, you can just select the “Arduino Leonardo” board in
the Arduino IDE. Note that if you upload a sketch to the device this way, your computer will then
recognize it as a Leonardo (for example, its entry in the Windows Device Manager will display
“Arduino Leonardo”).
After you succeed in programming your device from the Arduino IDE, there are many resources you can use to
learn more:
• The Arduino IDE has many
examples
[http://arduino.cc/en/Tutorial/HomePage]
that can run on A-Stars.
• The Arduino website has a
Language Reference
[http://arduino.cc/en/Reference/HomePage]
, a wiki called the
The Arduino Playground
[http://playground.arduino.cc/]
, and other resources.
Pololu Zumo 32U4 Robot User’s Guide
© 2001–2015 Pololu Corporation
5. Programming the Zumo 32U4
Page 64 of 76