Build a Coreless Boundary

After establishing a quick win to burn firmware over the wire, we can move on to the next quick win. We shouldn’t ignore our hardware a moment longer.

We’ll build a service layer to blink an LED. We want quick wins, so we’re going to go with the lightest possible solution to make this project work. Let’s prune the typical layers of a system away until only the minimal ones are left. The following figure shows our coreless design, leaving only a boundary:

images/blinker/coreless.png

As the figure shows, sometimes the libraries we use can build stubs that take the place of a functional core. So it is with the Circuits.GPIO library. When working on ...

Get Build a Binary Clock with Elixir and Nerves now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.