Package Exports
- ledpanel
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ledpanel) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
beecolor
beecolor allows you to control the Bicolor 8x8 LED matrix backpack from Adafruit
install
With npm
npm install beecolor##api
Color the matrix
beecolor.matrix(matrix, callback)Color one pixe
beecolor.printPixel(x,y, callback)Clear all
beecolor.clear(callback)##examples
var beecolor = require('beecolor')
var matrix = [[0, 0, 0, 0, 0, 0, 0, 0,],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1]]
beecolor.matrix(matrix, function(err){
if(err) console.log(err)
console.log('Matrix Printed')
})
beecolor.printPixel(0,0)
beecolor.clear()Contact
- Visit our site https://netbeast.co
- Mail us: staff [at] netbeast.co
- Report a bug or enter discussion at issues
- Other resources: Docs, Netbeast API
This repo is shared with ❤️ from Netbeast IoT regular job translating messages from different devices and aggregating data.