Skip to Content
IoT Development for ESP32 and ESP8266 with JavaScript: A Practical Guide to XS and the Moddable SDK
book

IoT Development for ESP32 and ESP8266 with JavaScript: A Practical Guide to XS and the Moddable SDK

by Peter Hoddie, Lizzie Prader
June 2020
Intermediate to advanced
622 pages
10h 31m
English
Apress
Content preview from IoT Development for ESP32 and ESP8266 with JavaScript: A Practical Guide to XS and the Moddable SDK
© Peter Hoddie and Lizzie Prader 2020
P. Hoddie, L. PraderIoT Development for ESP32 and ESP8266 with JavaScripthttps://doi.org/10.1007/978-1-4842-5070-9_7

7. Audio

Peter Hoddie1  and Lizzie Prader1
(1)
Menlo Park, CA, USA
 

Sound is a great way to communicate information to the user of a device. You can use sound to provide feedback for user actions like tapping a button, to alert the user when a background task such as a timer or a download has finished, and much more.

Both the ESP32 and the ESP8266 support audio playback. Some development boards, including the M5Stack FIRE, come with a speaker built in. If your board doesn’t include a speaker, you can attach one yourself. In this chapter, you’ll learn how to play sounds using an inexpensive speaker ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Gatsby JS: Build PWA Blog with GraphQL, React and WordPress

Gatsby JS: Build PWA Blog with GraphQL, React and WordPress

Rangel Stoilov
Cocoa Programming for OS X: The Big Nerd Ranch Guide

Cocoa Programming for OS X: The Big Nerd Ranch Guide

Aaron Hillegass, Adam Preble, Nate Chandler

Publisher Resources

ISBN: 9781484250709Purchase LinkPublisher Website