Skip to content

coding-with-craftsmen/piglow-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

PiGlow for node.js

This node.js script is a sample application for accessing a PiGlow board.

Requirements

  • A RaspberryPi
  • PiGlow board
  • Node.js installed (latest version, older version for instance packaged with raspbian are to old)

Before running the script

You've to allow access to the PiGlow device, this can be done in the following manner:

sudo chmod o+rw /dev/i2c*

Install the i2c node.js library globally

npm install -g i2c

Running the application

The sample application can be run by the following command.

node piglow.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published