Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Android Things Quick Start Guide

You're reading from  Android Things Quick Start Guide

Product type Book
Published in Aug 2018
Publisher Packt
ISBN-13 9781789341799
Pages 192 pages
Edition 1st Edition
Languages
Author (1):
Raul Portales Raul Portales
Profile icon Raul Portales

The Rainbow HAT

In this chapter, we will make use of the Rainbow HAT to learn how to interact with hardware. This HAT (Hardware on Top) is a selection of components that you can plug into a developer kit to start working with them without the need for any wiring. We will start with an overview of the architecture of Android Things—explaining peripheral lifecycle and user space drivers—and then work with each component of the Rainbow HAT (as shown in the following screenshot) including some best practices along the way.

The Rainbow HAT with all the LEDs and LCD on

For each part we will use a complete self-contained example and we will analyze how the code works. Along this chapter, we will be using the high-level abstraction drivers for the components that come from the contrib-drivers repository from Google.

We will also take advantage of the meta driver for the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}