Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Getting Started with Intel Galileo
Preface
Why Galileo?
Intended Audience
Feedback
Conventions Used in This Book
Using Code Examples
Safari® Books Online
How to Contact Us
Acknowledgements
1. Introduction to Galileo
What Is Galileo?
Inputs and Outputs
Code
Communication
What Makes Galileo Different?
Sketching in Hardware
2. First Steps
Tour of the Board
Helpful Tools and Components
Writing Programs to Control Your Galileo
Getting Familiar with the Development Environment
Connecting the Board
Uploading Code
Taking It Further
3. Outputs
Back to Blinking: Digital Output
Setup and Loop
Variables
Pin Numbers
Circuits and the Flow of Electricity
LED Polarity
Resistors with LEDs
pinMode()
Arduino Language Reference
digitalWrite()
delay()
Code and Syntax Notes
Semicolons
Lines and Spacing
Case Sensitivity
Hardcoding
Going Further with Digital Output
Analog Output
analogWrite()
Code and Syntax Notes
Variable Assignment
Math Operators
if Statements
Other Outputs
Serial Data Output
Serial.begin()
Serial.print()
Serial.println()
Controlling A/C Appliances with Relays
Controlling Servos
The Servo Object
Looking at Linux
Connecting via Telnet
Working with Pins
Taking It Further
4. Inputs
Switches: Digital Input
digitalRead()
Code and Syntax Notes
Local Variables
if… else Statements
Analog Input
Potentiometers
analogRead()
Code and Syntax Notes
Constants
map()
Variable Resistors
Voltage Divider Circuit
Force Sensitive Resistor
Code and Syntax Notes
#define
else if
Going Further
5. Going Further with Code
Data Types
int
float
long
boolean
char
String Object
millis()
Other Loops
while
do… while
for Loops
More Serial
Serial.available() and Serial.read()
Taking It Further
6. Getting Online
Connecting and Testing an Ethernet Connection
Connecting and Testing with a WiFi Connection
Connecting Using Linux Commands
system()
Getting Galileo’s IP Address Using system()
Connecting to Servers
How Many Days Until MAKE Comes Out?
Defining Functions
Converting ASCII Characters to Integers
Parsing JSON with Python
Connecting an LCD Character Display
Serving a Web Page
Serving a Web Page with Python
Starting on Boot
Taking It Further
A. Arduino Code Reference
analogRead
analogReadResolution
analogWrite
atoi
const
delay
digitalRead
digitalWrite
else
fclose
fgets
fopen
if
int
loop
map
pclose
pinMode
popen
Serial.begin
Serial.println
servo.attach
servo.write
setup
system
B. Breadboard Basics
C. Resistor Reference
D. Creating a MicroSD Image
E. Setting Up Galileo on Windows
F. Setting Up Galileo on Linux
Linux Notes
G. Setting Up Galileo on Mac OS X
Mac OS X Notes
H. Connecting to Galileo via Serial
Colophon
Copyright
← Prev
Back
Next →
← Prev
Back
Next →