Difference between revisions of "Grove-Red LED Matrix w Driver"
(→Caractéristiques) |
(→Voltage) |
||
| Line 14: | Line 14: | ||
=== Voltage === | === Voltage === | ||
| + | Tension d'alimentation 3,3 V / 5 V | ||
=== Librairie === | === Librairie === | ||
Revision as of 21:06, 30 March 2020
Contents
Grove-Red_LED_Matrix_w_Driver
Caractéristiques
Interface I2c
Adresse I2C : 0x70 (par défaut)
Images
Drivers
Voltage
Tension d'alimentation 3,3 V / 5 V
Librairie
github.com/Seeed-Studio/Grove_LED_Matrix_Driver_HT16K33 github
github.com/Seeed-Studio/Grove_LED_Matrix_Driver_HT16K33/archive/master.zip ZIP
Liste des Exemples
display_bars
display_cutsom_pictures
display_icon
display_number
display_string
offset_and_rotate
Liens Externes
wiki.seeedstudio.com/Grove-Red_LED_Matrix_w_Driver wiki
Code
#include <Wire.h>
#include "Grove_LED_Matrix_Driver_HT16K33.h"
Matrix_8x8 matrix;
void setup()
{
Wire.begin();
matrix.init();
matrix.setBrightness(0);
matrix.setBlinkRate(BLINK_OFF);
}
void loop()
{
for (int i=0;i<33;i++)
{
// The input range of writeBar is [0-32]
matrix.writeBar(i);
matrix.display();
delay(150);
}
}