Catalog npm
PACKAGE EXPLORERView in registry

5x5_rgb_pimoroni

npm

A module to interact with the 5x5 RGB matrix from Pimoroni

5x5matrixpimoronirgb
Versions collected10
Direct dependencies5From release 1.1.0
Last observed20 Oct, 20:42 UTC

README

Current package documentation

5x5 Matrix led from Pimoroni

Installation

npm install 5x5_rgb_pimoroni

Description

A module to control the 5x5 matrix led from Pimoroni.

Usage

const {RGB_pimoroni} = require('5x5_rgb_pimoroni')

const rgb = new RGB_pimoroni(ADDRESS_OF_THE_I2C_BUS=0x74, BUS_NUMBER=1)

rgb.set_pixel(x=0, y=0, r=255, g=0, b=0)

Methods

On or Off the LED matrix

rgb.Stop(false) // On
rgb.Stop(true) // Off

Set the color of a pixel

rgb.setColorLed(x, y, r, g, b, brightness=1)

Set the color of ALL pixels

rgb.setColor(r, g, b, brightness=1)
rgb.blink(speed=100)
rgb.stopAnimations()

Create a crossMark

rgb.crossMark(r,g, b, brightness=1, speed=100)

Create a validMark

rgb.validMark(r,g, b, brightness=1, speed=100)

Make By Alexis06030631

Instagram

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 10

Collected releases
VersionPublishedDirect dependenciesOpen version
1.1.0Registry latest31 May 20235
1.0.818 May 20235
1.0.718 May 20235
1.0.618 May 20235
1.0.518 May 20235
1.0.418 May 20235
1.0.318 May 20235
1.0.218 May 20235
1.0.118 May 20235
1.0.018 May 20235

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
alexis06030631/5x5_rgb_pimoroni

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:42 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:f39ba49fd5cea9d0c4690398f331c171b8411da84a4b607eaddf1b58fb2287dc