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

Summary

In this chapter we have learned how PWM works and how it encodes information in both the frequency and the duty cycle. We have seen how the frequency is key to working with a passive buzzer and learned to manipulate it directly. We also learned how servos use PWM in a special way and how to modify the configuration to match the specs of a target servo. Finally, we have learned how to use PWM as analog output with a simple circuit.

So far we have used single direction protocols. Let's step up a level and start working with bidirectional communication with I2C, which also supports multiple devices on the same bus. This will be the focus of the next chapter.

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 $15.99/month. Cancel anytime}