matrice_de_led_16x32_seeed
This is an old revision of the document!
Table of Contents
constitution
librairie
Propriétés
| type | identifiant | usage |
|---|---|---|
| private | ||
| uint8_t | clk, r1, stb, oe, a, b, c, d | pins |
| uint8_t[] | *displaybuf | buffer |
| uint16_t | width, height | taille du panneau |
| uint8_t | mask | ? |
| uint8_t | state | on/off (0/1) |
| public |
Méthodes
| identifiant | paramètres | usage |
|---|---|---|
| LEDMatrix | a, b, c, d, oe, r1, stb, clk | constructeur |
| begin | *displaybuf, width, height | initialisation ? |
| drawPoint | x, y, pixel | permet d'allumer/éteindre un pixel à une position x,y. pixel = 0/1 (allumé/éteint) |
| drawRect | x1, y1, x2, y2, pixel) | dessine un rectangle. pixel : cf ci-dessus. |
| drawImage | xoffset, yoffset, width, height, *image | dessine une image. *image = ? |
| clear | “turn off 1/16 leds and turn on another 1/16 leds” ? | |
| scan | ? | |
| reverse | inverse les pixels allumés et éteints | |
| isReversed | retourne la valeur de mask | |
| on | turn on the led matrix ? | |
| off | turn off the led matrix ? |
matrice_de_led_16x32_seeed.1427973107.txt.gz · Last modified: 2015/04/02 13:11 by 86.73.246.210

