My Project
 All Classes Functions Variables Pages
Apa102.h
1 /*
2  * Apa102.h
3  *
4  * Created on: Oct 22, 2017
5  * Author: kolban
6  */
7 
8 #ifndef COMPONENTS_CPP_UTILS_APA102_H_
9 #define COMPONENTS_CPP_UTILS_APA102_H_
10 
11 #include "SmartLED.h"
12 #include "SPI.h"
13 
14 class Apa102: public SmartLED {
15 public:
16  Apa102();
17  virtual ~Apa102();
18  void init();
19  void show();
20 private:
21  SPI mySPI;
22 };
23 
24 #endif /* COMPONENTS_CPP_UTILS_APA102_H_ */
Handle SPI protocol.
Definition: SPI.h:15
Definition: Apa102.h:14
void show()
Show the pixels on an APA102 device. The pixels that have been set are pushed to the APA102 devices...
Definition: Apa102.cpp:26
Definition: SmartLED.h:30