Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Intel Galileo Blueprints
  • Table Of Contents Toc
Intel Galileo Blueprints

Intel Galileo Blueprints

By : Marco Schwartz
5 (1)
close
close
Intel Galileo Blueprints

Intel Galileo Blueprints

5 (1)
By: Marco Schwartz

Overview of this book

If you are an experienced developer using classic Arduino boards and would like to extend your knowledge to the Intel Galileo board and polish your project building skills, this book is for you.
Table of Contents (14 chapters)
close
close
Lock Free Chapter
1
1. Setting Up the Galileo Board and the Development Environment
13
Index

Testing the Wi-Fi connection


Now that we have finished setting up both modules, we'll proceed to testing them. Let's start with the LED board. If you want to learn more about Arduino first, I recommend this tutorial on the official Arduino website:

http://www.arduino.cc/en/Tutorial/HomePage

Open the Arduino IDE to start the test. Here is the complete code for this part:

// Variables & functions
#define NUMBER_VARIABLES 2
#define NUMBER_FUNCTIONS 0

// Import required libraries
#include <Adafruit_CC3000.h>
#include <SPI.h>
#include <CC3000_MDNS.h>
#include <aREST.h>
#include <avr/wdt.h>

// DHT 11 sensor
#define DHTPIN 7
#define DHTTYPE DHT11

// These are the pins for the CC3000 chip if you are using a breakout board
#define ADAFRUIT_CC3000_IRQ   3
#define ADAFRUIT_CC3000_VBAT  5
#define ADAFRUIT_CC3000_CS    10

// Create CC3000 instance
Adafruit_CC3000 cc3000 = Adafruit_CC3000(ADAFRUIT_CC3000_CS, ADAFRUIT_CC3000_IRQ, ADAFRUIT_CC3000_VBAT);

// Create aREST...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Intel Galileo Blueprints
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon