Catalog npm
Back to packageRELEASE DETAILS

0.0.4

npm

7-segment

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

breadboarddisplaypiraspberrysegment
Published20 Jul 2016
Direct dependencies1
Transitive dependenciesNot calculated

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.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
wiring-pi
Environment
{
  "local_name": "wiring-pi",
  "alias": false,
  "peer_metadata": null
}
2.1.1runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "9c9fc1bde310d14e1f91808d0b1a8342f322b265",
  "tarball": "https://registry.npmjs.org/7-segment/-/7-segment-0.0.4.tgz",
  "integrity": "sha512-73xE663FhswXc7+c4KQvOsttVDlExJCvhTmE+4DG1t2DgPNwdMdWbwoZlUooGCK3RtvcAwc1zukvjE3ajMzLXw==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQDNTgyRUZcrGT4W7mxMntZcpSMyAKDZinvOlippY5UvowIgevBePnNflSYDWj8Ps6u+UnYNxUwICIsINGQNrQ3vez0="
    }
  ]
}

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_version:2e741adf07f8f90f3263c40e6d2bf2b68548b255bac4fcae33ea5a2071bc464a

Other collected versions

0.0.320 Jul0.0.220 Jul0.0.120 JulView all collected versions →