Hardware Reference
In-Depth Information
As mentioned, you can't use the plain-vanilla Arduino IDE to
program FLORA. The Adafruit-modiied Arduino IDE is custom-
ized to work with FLORA and free to download, but we also pro-
vide instructions for “Florafying” your own Arduino installation
in the “Getting Started with FLORA” guide on the Adafruit Learn-
ing System. It involves modifying your boards.txt file and adding
a few files.
On Mac OS X Mavericks, when you start the software for the
first time it's common to see an alert that says the file is “dam-
aged, corrupt, and needs to be trashed.” This message appears
because the software was not created by a “signed developer,”
and you should update your system preferences to allow it to
run. In System Preferences, select Security & Privacy, click the
lock and authenticate with your password to make changes,
then change “Allow apps downloaded from” to “Anywhere.” You
can change it back after the IDE launches for the first time.
Compilation Errors
The Arduino IDE is designed to program a wide variety of
boards, and there are thousands of code libraries written for
Arduino to help communicate with sensors, LEDs, motors, and
much more. When trying out Adafruit FLORA example projects,
check for required libraries you may have to install—without the
right libraries, sample code won't compile.
Many different errors can pop up when a library is missing, but
the most common is the claim that a declaration “does not
name a type.” This is the biggest clue that you have a missing
library or your library is in the wrong place. For more information
on installing Arduino libraries, head over to the “Arduino Libra-
ries” guide on the Adafruit Learning System.
Upload Errors
Couldn't find a Leonardo on the selected port. Check that you
have the correct port selected. If it is correct, try pressing the
board's reset button after initiating the upload.
Like it says, you should check to be sure you have the cor-
rect serial port in the Tools Serial Port menu selected. The
error message says “Leonardo” because the 32u4 micro-
Search WWH ::




Custom Search