victorporof / max7219.js Goto Github PK
View Code? Open in Web Editor NEWAbstraction for the MAX7219 display driver controller
License: Mozilla Public License 2.0
Abstraction for the MAX7219 display driver controller
License: Mozilla Public License 2.0
In the README document for the function setDigitSymbol, there is no "dp" parameter in the syntax but there is in the code.
I am running Raspbian Jessie on a Pi 2 ... when I try and execute "npm install max7219", it fails.
Here are some of the relevant details:
$ uname -a
Linux raspberrypi 4.1.15-v7+ #830 SMP Tue Dec 15 17:02:45 GMT 2015 armv7l GNU/Linux
$ node -v
v4.2.1
$ npm -v
2.14.7
NPM debug log attached
Later ...
I found that I could run:
$ npm install spi
which installed 0.2.0 of SPI
This however was not compatible with max7219 which wants ~0.1.0
I downloaded the max7219 package and manually changed the dependency to ~0.2.0 and all now appears to work once installed.
I think we need to look at "freshening" this package to later code levels.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.