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 ...

Get Getting Started with Intel Galileo now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.