August 2022
Intermediate to advanced
108 pages
2h 23m
English
Soon, it will be time to build out your glorious cabinet, but before you do anything permanent, it’s best to test what you have built so far. We will handle the test in two parts. First, we’ll generate our new Nerves project with the circuits_spi dependency, and then we’ll use the interface to turn on some lights.
Let’s test the system now.
To test the project, we’re going to need a new Nerves project. Luckily, you already know how to create those. We’ll throw in a new wrinkle to connect it to the network, and then we’ll be done.
Create a new project with mix nerves.new clock:
| | $ mix nerves.new clock |
Next, fetch dependencies. Add these two dependencies for working with ...
Read now
Unlock full access