Interfaçage NeoPixel Ring 12, LPRO MECSE, Arnaud A.
Diff: neoPixelRing12.h
- Revision:
- 1:76fb4b762ab1
- Parent:
- 0:754bf033bd47
- Child:
- 2:327eb27271b0
--- a/neoPixelRing12.h Wed Jun 17 16:33:48 2020 +0000 +++ b/neoPixelRing12.h Mon Jun 22 20:58:34 2020 +0000 @@ -3,7 +3,7 @@ #include "mbed.h" #include "string.h" - +#include <stdlib.h> #define RST_TIME_IN_US 70 @@ -14,7 +14,11 @@ bool rst(); bool rgbToDataStructure(char* rgbCode); bool bit(bool value); - bool setLights(int nbOfLeds, char* rgbCode); + bool setLights(int nbOfLeds, char* rgbCode); + bool setLights(char RGBmap[12][7]); + bool initLights(); + bool circleUpAnimations(); + bool setLightsNoReset(int nbOfLeds, char* rgbCode); private: DigitalOut digitalOutPin;