0.3.1 • Published 5 years ago
hello-lights v0.3.1
hello-lights
Commands to control a traffic light
Works with a Cleware USB traffic light.
Install
$ npm install hello-lights --saveUsage
Issue commands to control a connected traffic light:
const {Commander} = require('hello-lights');
let commander = new Commander();
// keeps flashing the red light in 400ms intervals
commander.run('twinkle red 400');For the Commander class documentation look here.
Commands
Check out the available commands here. For multiple traffic lights (Commander.multi) look here.
Documentation
For the documentation look here.
License
Licensed under the MIT license.
0.3.1
5 years ago
0.3.0
6 years ago
0.2.9
6 years ago
0.2.8
6 years ago
0.2.7
6 years ago
0.2.6
6 years ago
0.2.5
6 years ago
0.2.4
6 years ago
0.2.3
6 years ago
0.2.2
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.9
6 years ago
0.1.8
6 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
8 years ago