Catalog npm
PACKAGE EXPLORERView in registry

7-segment

npm

Node JS helper to manage a single digit 7-segment display

breadboarddisplaypiraspberrysegment
Versions collected4
Direct dependencies1From release 0.0.4
Last observed20 Oct, 21:02 UTC

README

Current package documentation

7-Segment Display

A small library that controls a single digit 7-segment display.

Installation

npm install 7-segment

Wiring

7 segement display 7 segement wiring

Usage

var segment = require('7-segment');

var draw = new segment(0, 7, 5, 4, 1, 2, 3, 6); // OR your own wiring options

draw.display('0'); // will display 0 on the 7-segment display
draw.display('9'); // will display 9 on the 7-segment display
draw.display('.'); // will display . on the 7-segment display

Important Note

When using this library you must run Node JS as sudo.

sudo nodejs index.js

This is a requirement of the Wiring-Pi library.

Contributing

Open for improvements, create a pull request on GitHub.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 4

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.4Registry latest20 Jul 20161
0.0.320 Jul 20161
0.0.220 Jul 20161
0.0.120 Jul 20161

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
sketchthat/7-segment-node

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:02 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:562160d632d78c01bee894176f5d05f24d9fd4ad310f0ec9480e151a790f9a8d