O'Reilly logo

Getting Started with Intel Galileo by Matt Richardson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Going Further with Code

image with no caption

As you learned about how to work with inputs and outputs on Galileo, you also got a tutorial on a few different coding concepts. This short chapter aims to fill in some of the gaps so that you’ll have the tools you need to create your own projects.

Data Types

When creating variables, so far the only data type you’ve encountered is the integer, which is meant for storing whole numbers, or in the case of Example 4-1, the digital pin states HIGH or LOW. But there are plenty of other types of data that you can store in memory with Galileo.

int

Since you’re already familiar with the basics of the integer, I’ll give you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required