Catalog npm
Back to packageRELEASE DETAILS

1.0.0

npm

5x5_rgb_pimoroni

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

5x5matrixpimoronirgb
Published18 May 2023
Direct dependencies5
Transitive dependenciesNot calculated

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.

Declared dependencies 5

Native requirements
5 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
axios
Environment
{
  "local_name": "axios",
  "alias": false,
  "peer_metadata": null
}
^1.4.0runtime
i2c-bus
Environment
{
  "local_name": "i2c-bus",
  "alias": false,
  "peer_metadata": null
}
^5.2.2runtime
@types/i2c-bus
Environment
{
  "local_name": "@types/i2c-bus",
  "alias": false,
  "peer_metadata": null
}
^5.1.0development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^20.1.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.0.4development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-ZVwFSkKteQMrJHTtNWzdjZSy5aJpkL0JBws6ZaIoJBP2vJ5386nqV32GN5iujjONUx0OGRjkPTyeOcTmAIqdfQ==",
  "shasum": "2033061ce313737397ed11e06742d4555ed8149d",
  "tarball": "https://registry.npmjs.org/5x5_rgb_pimoroni/-/5x5_rgb_pimoroni-1.0.0.tgz",
  "fileCount": 25,
  "unpackedSize": 51301,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIC8g8Q9xUFG7d6Xz5MDNdENN2UBvaz7zewXQ8CUW1sXfAiAT0ivVDSbOiOYbC2ctu9T5aLgDnpeyZURiq2DS5/3HjA=="
    }
  ]
}

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_version:187a8bfdc6969edd2102e95f4777722af26a02f71b1dce408cf22922d221f02e

Other collected versions

1.1.031 May1.0.818 May1.0.718 May1.0.618 May1.0.518 May1.0.418 MayView all collected versions →