WS2812 Matrix Emulator
=======================
This module can be used to emulate a WS2812 Matrix in replacement of the
``neopixel.py`` module for the Raspberry Pi provided by the **rpi_ws281x** project
(<https://github.com/jgarff/rpi_ws281x>).
You must only change one line of your code in order to switch between
emulator and real matrix. Replace the line
from neopixel import *
by
from vrtneopixel import *
The number of leds of your matrix is specified in the ``Adafruit_NeoPixel()``
call as the first parameter. We generally use a ``LED_COUNT`` variable and two
types are allowed:
* simple integer : total number of leds in the matrix, must have an integer square root (ie. 16 -> 4x4 matrix, etc.).
* tuple (rows, cols) : number of rows and columns of the matrix.
----
Émulateur d'écran WS2812
=========================
Ce module peut être utilisé pour émuler un écran de leds WS2812 Matrix en
remplacement du module ``neopixel.py`` pour Raspberry Pi fourni par le projet
**rpi_ws281x** (<https://github.com/jgarff/rpi_ws281x>).
Vous devez seulement changer une ligne de votre code pour basculer entre
l'émulateur et l'écran de leds. Remplacez la ligne
from neopixel import *
par
from vrtneopixel import *
Le nombre de leds de l'écran est passé en tant que premier paramètre lors de
l'appel à ``Adafruit_NeoPixel()``. On utilise en général une variable ``LED_COUNT``
pour laquelle deux types sont autorisés:
* un entier simple : nombre total de leds composant l'écran, doit avoir une racine carrée entière (ie. 16 -> 4x4 matrix, etc.).
* un tuple (rows, cols) : nombre de lignes et de colonnes de l'écran.
=======================
This module can be used to emulate a WS2812 Matrix in replacement of the
``neopixel.py`` module for the Raspberry Pi provided by the **rpi_ws281x** project
(<https://github.com/jgarff/rpi_ws281x>).
You must only change one line of your code in order to switch between
emulator and real matrix. Replace the line
from neopixel import *
by
from vrtneopixel import *
The number of leds of your matrix is specified in the ``Adafruit_NeoPixel()``
call as the first parameter. We generally use a ``LED_COUNT`` variable and two
types are allowed:
* simple integer : total number of leds in the matrix, must have an integer square root (ie. 16 -> 4x4 matrix, etc.).
* tuple (rows, cols) : number of rows and columns of the matrix.
----
Émulateur d'écran WS2812
=========================
Ce module peut être utilisé pour émuler un écran de leds WS2812 Matrix en
remplacement du module ``neopixel.py`` pour Raspberry Pi fourni par le projet
**rpi_ws281x** (<https://github.com/jgarff/rpi_ws281x>).
Vous devez seulement changer une ligne de votre code pour basculer entre
l'émulateur et l'écran de leds. Remplacez la ligne
from neopixel import *
par
from vrtneopixel import *
Le nombre de leds de l'écran est passé en tant que premier paramètre lors de
l'appel à ``Adafruit_NeoPixel()``. On utilise en général une variable ``LED_COUNT``
pour laquelle deux types sont autorisés:
* un entier simple : nombre total de leds composant l'écran, doit avoir une racine carrée entière (ie. 16 -> 4x4 matrix, etc.).
* un tuple (rows, cols) : nombre de lignes et de colonnes de l'écran.
Metadata
Release files for vrtneopixel 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vrtneopixel-1.1.3.tar.gz | 16.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vrtneopixel-1.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.6 kB
Release files / vrtneopixel-1.1.3.tar.gz
| Download URL | vrtneopixel-1.1.3.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
256cd8d74940aedb2f2a9b66489f3bb73f4d257dc78a3c6957a55a8da194b1bc
|
|
BLAKE2b-256 checksum How to use checksums |
bb125ac3006067a96d15c1055bf576db4ce3cb6972ca15b669c4e053650bdbd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / vrtneopixel-1.1.3-py3-none-any.whl
| Download URL | vrtneopixel-1.1.3-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32d0ca861db9aa0a590593d466426bcef8290a88ec11f553bfd5a272d4c9f5e7
|
|
BLAKE2b-256 checksum How to use checksums |
69c4576c225f3df138bbc166b77a4c7cba6ab325fb82071b854366bbfb7a000f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |