Skip to Main Content
Creative DIY Microcontroller Projects with TinyGo and WebAssembly
book

Creative DIY Microcontroller Projects with TinyGo and WebAssembly

by Tobias Theel
May 2021
Intermediate to advanced content levelIntermediate to advanced
322 pages
5h 24m
English
Packt Publishing
Content preview from Creative DIY Microcontroller Projects with TinyGo and WebAssembly

Chapter 7: Displaying Weather Alerts on the TinyGo Wasm Dashboard

We have learned how to display data using different types of displays that are connected using either the Inter-Integrated Circuit (I2C) protocol or the Serial Peripheral Interface (SPI). While doing so, we dived a bit deeper into understanding how SPI works by learning that multiple devices can listen on a SPI bus and that we can daisy-chain devices on the bus. Furthermore, we have built a command-line interface (CLI) that interprets commands sent over serial and executes functions depending on the input.

After working through this chapter, you will be familiar with using Message Queuing Telemetry Transport (MQTT), serving a WebAssembly (Wasm) page through a web server, how ...

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

DIY Microcontroller Projects for Hobbyists

DIY Microcontroller Projects for Hobbyists

Miguel Angel Garcia-Ruiz, Pedro Cesar Santana Mancilla
Arduino Cookbook, 3rd Edition

Arduino Cookbook, 3rd Edition

Michael Margolis, Brian Jepson, Nicholas Robert Weldin

Publisher Resources

ISBN: 9781800560208Supplemental Content