Getting started with Johnny-Five and Raspi-IO
Now that our project folder is ready for dependencies, we'll start exploring the Johnny-Five and Raspi-IO documentation that'll help us create the projects in this book.
Gathering resources and documentation
There are two main sources of documentation that we'll be using for the projects in this book:
- The Johnny-Five website: http://johnny-five.io/
- The Raspi-IO GitHub README and wiki: https://github.com/nebrius/raspi-io
The following screenshot shows the Raspi-IO README on GitHub:

We will be using the Johnny-Five documentation at johnny-five.io
to look up API calls and other information about the Johnny-Five library, and the Raspi-IO README for Raspberry Pi-specific information, including pin numbers.
Taking a look at the LED-blink project
The first thing we'll need is from the Raspi-IO README: we're going to read and run their led-blink
code as our Hello World! Let's take a look at the code as a block:
constRaspi=require('raspi-io'); constfive=require...