September 2024
Beginner to intermediate
985 pages
35h 37m
English
If you look at the code examples of the previous listings, you’ll notice that they are all very similar in principle and differ only in the details. This is exactly where the Cylon.js framework (http://cylonjs.com) comes in by creating a unified interface for various IoT platforms, including Tessel, BeagleBone Black, and Arduino. (Espruino is currently not supported.)
You install Cylon.js as a Node.js module using the npm install cylon command. Afterward, the module is integrated via require('cylon'); as usual.
Listing 20.19 shows how Cylon.js can be used to control the BeagleBone Black. You can see directly that Cylon.js provides a relatively understandable API. The ...
Read now
Unlock full access