V1 des afficheur 8x8 RGB
Flipper_Affichage.h@0:035a2e99ccdc, 2021-12-16 (annotated)
- Committer:
- bastien_07
- Date:
- Thu Dec 16 11:51:00 2021 +0000
- Revision:
- 0:035a2e99ccdc
Afficheur Flipper v1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bastien_07 | 0:035a2e99ccdc | 1 | #ifndef FUNC_H |
bastien_07 | 0:035a2e99ccdc | 2 | #define FUNC_H |
bastien_07 | 0:035a2e99ccdc | 3 | #include "WS2812.h" |
bastien_07 | 0:035a2e99ccdc | 4 | #include "PixelArray.h" |
bastien_07 | 0:035a2e99ccdc | 5 | |
bastien_07 | 0:035a2e99ccdc | 6 | #define WS2812_BUF 128 |
bastien_07 | 0:035a2e99ccdc | 7 | #define NUM_COLORS 128 |
bastien_07 | 0:035a2e99ccdc | 8 | |
bastien_07 | 0:035a2e99ccdc | 9 | //Prototype |
bastien_07 | 0:035a2e99ccdc | 10 | void EgalTab(int[][4],int[][4]); |
bastien_07 | 0:035a2e99ccdc | 11 | void InitDisplay(char ,char,int,int,int); |
bastien_07 | 0:035a2e99ccdc | 12 | void NewDisplay(); |
bastien_07 | 0:035a2e99ccdc | 13 | void Display(); |
bastien_07 | 0:035a2e99ccdc | 14 | |
bastien_07 | 0:035a2e99ccdc | 15 | /* |
bastien_07 | 0:035a2e99ccdc | 16 | 0= noir 0x000000 |
bastien_07 | 0:035a2e99ccdc | 17 | 1= rouge 0xff0000 |
bastien_07 | 0:035a2e99ccdc | 18 | 2= vert 0x00ff00 |
bastien_07 | 0:035a2e99ccdc | 19 | 3= bleu 0x0000ff |
bastien_07 | 0:035a2e99ccdc | 20 | 4= jaune 0xffff00 |
bastien_07 | 0:035a2e99ccdc | 21 | 5= marron 0x582900 |
bastien_07 | 0:035a2e99ccdc | 22 | 6= blanc 0xffffff |
bastien_07 | 0:035a2e99ccdc | 23 | 7= rose 0xFA25CB |
bastien_07 | 0:035a2e99ccdc | 24 | 8= gris 0x606060 |
bastien_07 | 0:035a2e99ccdc | 25 | 9= violet 0x7f00ff |
bastien_07 | 0:035a2e99ccdc | 26 | */ |
bastien_07 | 0:035a2e99ccdc | 27 | |
bastien_07 | 0:035a2e99ccdc | 28 | |
bastien_07 | 0:035a2e99ccdc | 29 | #endif |