Johnny Five: How to Use a REPL for Embedded Development
This post is part of the Johnny Five series. See the first post here. When working with Johnny Five, it’s important to understand the concept of a REPL (Read-Evaluate-Print-Loop). The REPL allows us to interactively write and execute code in the terminal. To start using the REPL, create a repl.js file with the following code: const { Board } = require("johnny-five"); const board = new Board(); In this example, we’ll be using an LCD circuit that we created in a previous lesson....