Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ledpanel

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ledpanel

Control Adafruit 8x8 bicolor led Panel on the Raspberry Pi

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 25 Feb 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc