EasyManuals Logo

Intel Galileo Hardware Guide

Intel Galileo
34 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #9 background imageLoading...
Page #9 background image
Hardware 9
Hardware
1.6: Using delay
We want our microcontroller to blink, but right now it just stays on. We have to tell the microcontroller to
turn on and o. But, we have to leave some time in between so that we can actually see the blinking.
One way to do this is to use the “delay function. Delay means to wait, or to stop for a time. You use it like
this:
delay(500);
The arguments for delay are the time in milliseconds (1/1000th of a second) that you want to wait for. I’m
telling it to wait 500 milliseconds, or half of a second.
In our program we want to turn on the LED, then wait, then turn it o, then wait. This means our program
will look like this:
voidsetup(){
//putyoursetupcodehere,torunonce:
pinMode(13,OUTPUT);
//setpin13tooutput,pin13isthebuilt-in
led
}
voidloop(){
//putyourmaincodehere,torunrepeatedly:
digitalWrite(13,HIGH);//turnontheled
delay(500);//wait
digitalWrite(13,LOW);//turnotheled
delay(500);//wait
}
Now we can try verifying again. If there are errors try putting slashes before a line, making it a comment,
and verifying again. If the error goes away, you know it was in the line you commented out, otherwise you
can look at other lines.
We can upload again. If everything is correct, you should see your microcontroller’s LED blinking once a
second. (Refer to Lesson 1 Figure 3)
Try changing things around in the program, such as the blinking time. See what works, and what doesn’t.
(You can also look at the program under le->examples->01.Basics->Blink.

Other manuals for Intel Galileo

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Intel Galileo and is the answer not in the manual?

Intel Galileo Specifications

General IconGeneral
Product familyIntel Galileo
Product seriesIntel Galileo board
Processor cache16 KB
Processor cores1
Processor modelIntel Quark SoC X1000
64-bit computingNo
Processor socketQuark 393pin FCPGA
Product codename-
Processor frequency400 MHz
Microcontroller modelIntel Quark
Processor lithography32 nm
Processor manufacturerIntel
Thermal Design Power (TDP)12.5 W
Memory bandwidth supported by processor (max)2.5 GB/s
Memory bus32 bit
Flash memory8 MB
Memory channelsSingle-channel
Flash memory typeNorwegian
Memory clock speed800 MHz
Internal memory typeDDR3
Number of DIMM slots0
Compatible memory cardsMicroSD (TransFlash), MicroSDHC
Maximum internal memory0.256 GB
Maximum memory card size32 GB
SRAM (Static Random Access Memory)512 KB
EEPROM (Electrically Erasable Programmable Read-Only Memory)8 KB
USB version2.0
Ethernet LANYes
USB ports quantity3
Ethernet interface typeFast Ethernet
ARK ID78919
StatusDiscontinued
Launch dateQ4'13
Package size15 x 15 mm
FSBs supportedNA
Processor includedIntel® Quark™ SoC X1000 (16K Cache, 400 MHz)
Supported memory typesDDR3-SDRAM
Power over Ethernet (PoE) voltage12 V
Export Control Classification Number (ECCN)4A994
PCI SupportPCI Express
PCI Express interface data lanesx1
Form factorArduino
Market segmentDesktop
DC input voltage5 V
Intel Small Business Advantage (SBA) version0.00
Last change63903513
Processor ID79084
Product type11
Harmonized System (HS) code8471500150
Weight and Dimensions IconWeight and Dimensions
Width- mm

Related product manuals