Download Print this page

Intel Galileo Hardware Manual page 4

Biobots
Hide thumbs Also See for Galileo:

Advertisement

Hardware
In order to program your Galileo, we are going to use the Arduino program (which can also communicate
with your Galileo board). Open the Arduino program. On the top bar go to tools -> board and select Intel Gali-
leo (Gen 2 if you are using Gen 2), this tells your computer what type of microcontroller you are using. Then,
go to tools -> serial port and make sure something is selected.
1.3: Basic Programming Structure
Now that your Galileo and computer are ready to go, we can start thinking about programming. The Arduino
program is something called an IDE or
is meant to help you program.
ment
is a word which can mean 'to program'. The
which can help you. The IDE offers an easier way to connect to the Galileo, highlighting, example codes
(Under file->examples) and a lot of other nice things. For our Galileo, we are going to use Arduino IDE. Lets
get started!
When you opened this program you should see the following code already written for you:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Interactive Development Environment
Interactive
means that you, the user, can interact or use it.
Environment
Lesson 1 Figure 2
. It is a software that
means the stuff around your program
Develop-
Hardware 4

Advertisement

loading