Socket
Socket
Sign inDemoInstall

ledpanel

Package Overview
Dependencies
16
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ledpanel

Control Adafruit 8x8 bicolor led Panel on the Raspberry Pi


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

ledpanel

ledpanel allows you to control the Bicolor 8x8 LED matrix backpack from Adafruit

install

With npm

npm install ledpanel

##api

Color the matrix

ledpanel.matrix(matrix, callback)

Color one pixe

ledpanel.printPixel(x,y, callback)

Clear all

ledpanel.clear(callback)

##examples

var ledpanel = require('ledpanel')

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]]

ledpanel.matrix(matrix, function(err){
	if(err) console.log(err)
	console.log('Matrix Printed')
})

ledpanel.printPixel(0,0)

ledpanel.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 :heart: from Netbeast IoT regular job translating messages from different devices and aggregating data.

Keywords

FAQs

Last updated on 25 Feb 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc