Hardware Reference
In-Depth Information
Writing Programs to Control Your
Galileo
In order to write the code to program the board, you'll need the Arduino
integrated development environment
, or IDE, on your computer. It's also
sometimes referred to as the Arduino software. The development environ-
ment is the program where you'll write your code, check it for errors, and
upload it to the Galileo. To download the software:
1. Navigate to the
Galileo support site
in your web browser.
2. Click “Software downloads.”
3. There will be a list of different files to choose from. Find the file name
that starts with
Intel_Galileo_Arduino_SW_on
and then your operating
system. It'll be either
Linux32bit
,
Linux64Bit
,
MacOSX
, or
Windows
de-
pending on what system you're using.
4. Click the download button for that file.
5. After accepting the terms in the license agreement, your download will
start.
Because the Galileo support site and the IDE software fre-
quently change, these directions may differ slightly from your
experience.
Next, install the software on your computer:
1. Open the file that you've downloaded to decompress it. Find your down-
loads folder and double-click the file to do so. Some web browsers will
also let you open the file by clicking on the download directly in the
browser window.
2. From here, there are some differences in how each operating system
installs and launches software. Here's a basic overview of the installation
and launching process for each platform:
a.
On Windows
, unzip the file to the root of your hard drive (
C:\
). Open
that folder and double click
arduino.exe
to launch the IDE. You will
need to install serial drivers to communicate with the board. See
Appendix E
for more detailed instructions and notes.
b.
On Linux
, unzip the file and change (cd) into the newly-created di-
rectory. Run the Arduino executable from the command line. See
Appendix F
for more detailed instructions and notes.
c.
On Mac OS X
, simply drag the Arduino icon into your
/Applica
tions
folder to install it. Launch it by double-clicking the Arduino icon