0.3.1 • Published 3 years ago

hello-lights v0.3.1

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

hello-lights

npm Build Status Dependency Status devDependency Status License

Commands to control a traffic light

Works with a Cleware USB traffic light.

Install

$ npm install hello-lights --save

Usage

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

3 years ago

0.3.0

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago