Initialize a Nerves Project from Scratch

You’ve controlled a single LED with IEx. While that experience was interesting, it really amounts to the world’s most awkward light switch. This chapter will focus on making it blink forever, or at least until you get bored. Along the way, we’ll explore a coreless design with a hardware layer and a service layer. Because processes and hardware fail, our code is unpredictable and will fit in the boundary.

We’re going to build a temporary Nerves project called Blinker for a little experimentation. Later, once we’ve played with a few important concepts, we’ll shift to our permanent project called Clock. For both projects, we’ll use Elixir 1.11 and Erlang OTP 23. We’ll also use Nerves. Check the following ...

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.