libPocuter 1.0 Support library for programming the Pocuter

RGBled.h
Go to the documentation of this file.
1
2 #include <stdint.h>
3
4 #ifndef POCUTER_RGBLED_H
5 #define POCUTER_RGBLED_H
6
7
13 class RGBled {
14 public:
15 enum LEDERROR {
16 LEDERROR_OK,
17 LEDERROR_FAILURE
18
19 };
32 virtual LEDERROR setRGB(uint8_t ledNumber, uint8_t r, uint8_t g, uint8_t b) = 0;
33
34 private:
35 };
36
37
38
39 #endif /* POCUTER_RGBLED_H */
40
RGBled::LEDERROR_FAILURE
@ LEDERROR_FAILURE
Definition: RGBled.h:17
RGBled::setRGB
virtual LEDERROR setRGB(uint8_t ledNumber, uint8_t r, uint8_t g, uint8_t b)=0
Setting Status LED.
RGBled::LEDERROR
LEDERROR
Definition: RGBled.h:15
RGBled
Pocuter status LED.
Definition: RGBled.h:13
RGBled::LEDERROR_OK
@ LEDERROR_OK
Definition: RGBled.h:16