IoT development for ESP32 and ESP8266 with JavaScript : a practical guide to XS and the moddable SDK Chapter 1: Getting Started Chapter 2: JavaScript for Embedded C and C++ Programmers Chapter 3: Networking Chapter 4: Bluetooth Low Energy (BLE) Chapter 5: Files and Data Chapter 6: Hardware Chapter 7: Audio Chapter 8: Graphics Fundamentals Chapter 9: Drawing Graphics with Poco Chapter 10: Building User Interfaces with Piu Chapter 11: Adding native code. This book introduces a new approach to embedded development grounded in modern industry standard JavaScript. Using the same language that powers web browsers and Node.js the Moddable SDK empowers IoT developers to apply many of the same tools and techniques used to build sophisticated websites and mobile apps. The Moddable SDK enables you to unlock the full potential of inexpensive microcontrollers like the ESP32 and ESP8266. Coding for these microcontrollers in C or C++ with the ESP IDF and Arduino SDKs works for building basic products but doesnt scale to handle the increasingly complex IoT products that customers expect. The Moddable SDK adds the lightweight XS JavaScript engine to those traditional environments accelerating development with JavaScript while keeping the performance benefits of a native SDK. Building user interfaces and communicating over the network are two areas where JavaScript really shines. IoT Development for ESP32 and ESP8266 with JavaScriptshows you how to build responsive touch screen user interfaces using the Piu framework. Youll learn how easy it is to securely send and receive JSON data over Wi Fi with elegant JavaScript APIs for common IoT protocols including HTTP HTTPS WebSocket MQTT and mDNS. Youll also learn how to integrate common sensors and actuators Bluetooth Low Energy (BLE) file systems and more into your projects and youll see firsthand how JavaScript makes it easier to combine these diverse technologies. If youre an embedded C or C++ developer who has never worked in JavaScript dont worry. This book includes an introduction to the JavaScript language just for embedded developers experienced with C or C++.