 |
My Project
|
|
Go to the documentation of this file.
11 #ifndef RGB_LED_LIGHTING_SHIELD_HPP_
12 #define RGB_LED_LIGHTING_SHIELD_HPP_
39 Error_t setIntensityRGB(uint16_t red, uint16_t green, uint16_t blue);
40 Error_t setIntensityRed(uint16_t red);
41 Error_t setIntensityGreen(uint16_t green);
42 Error_t setIntensityBlue(uint16_t blue);
43 Error_t setDimmingLevel(uint16_t level);
44 Error_t setOffTimesRGB(uint16_t red, uint16_t green, uint16_t blue);
45 Error_t setCurrentRGB(uint16_t red, uint16_t green, uint16_t blue);
46 Error_t setFadeRate(uint16_t fRate);
47 Error_t setWalkTime(uint16_t wTime);
49 Error_t setColor(uint16_t color);
~RGBShield()
Destructor of the RGBShield-Class.
Definition: rgb-led-lighting-shield.cpp:32
uint16_t _brightness
Definition: rgb-led-lighting-shield.hpp:67
@ INTENSITY_RGB
Definition: rgb-led-lighting-shield-reg.hpp:31
@ RED
Definition: rgb-led-lighting-shield-reg.hpp:92
uint16_t _blueOff
Definition: rgb-led-lighting-shield.hpp:61
uint16_t _greenCurr
Definition: rgb-led-lighting-shield.hpp:57
Error_t setOffTimesRGB(uint16_t red, uint16_t green, uint16_t blue)
Set off-time for the three channels.
Definition: rgb-led-lighting-shield.cpp:239
@ ENAB
Definition: rgb-led-lighting-shield-types.hpp:50
Error_t setFadeRate(uint16_t fRate)
Set the fade rate of the board.
Definition: rgb-led-lighting-shield.cpp:285
@ CURRENT_GREEN
Definition: rgb-led-lighting-shield-reg.hpp:34
@ SILVER
Definition: rgb-led-lighting-shield-reg.hpp:89
uint16_t _walk
Definition: rgb-led-lighting-shield.hpp:66
RGB LED LIGHTING SHIELD TIMER Platform Abstraction Layer.
uint16_t _fadeTime
Definition: rgb-led-lighting-shield.hpp:65
@ YELLOW
Definition: rgb-led-lighting-shield-reg.hpp:94
@ OFFTIME_GREEN
Definition: rgb-led-lighting-shield-reg.hpp:45
uint16_t _redCurr
Definition: rgb-led-lighting-shield.hpp:56
uint16_t _blueCurr
Definition: rgb-led-lighting-shield.hpp:58
Error_t setWalkTime(uint16_t wTime)
Set the walk-time of the board.
Definition: rgb-led-lighting-shield.cpp:304
Error_t setIntensityBlue(uint16_t blue)
Set intensity of the blue-channel.
Definition: rgb-led-lighting-shield.cpp:199
Error_t setIntensityGreen(uint16_t green)
Set intensity of the green-channel.
Definition: rgb-led-lighting-shield.cpp:181
Status_t
Status List.
Definition: rgb-led-lighting-shield-types.hpp:46
RGB LED LIGHTING SHIELD Library.
@ BLUE
Definition: rgb-led-lighting-shield-reg.hpp:100
Error_t setDimmingLevel(uint16_t level)
Set dimming level.
Definition: rgb-led-lighting-shield.cpp:218
@ OK
Definition: rgb-led-lighting-shield-types.hpp:28
@ INTENSITY_BLUE
Definition: rgb-led-lighting-shield-reg.hpp:30
@ DIMMINGLEVEL
Definition: rgb-led-lighting-shield-reg.hpp:48
@ READ_DIMMINGLEVEL
Definition: rgb-led-lighting-shield-reg.hpp:74
I2CPAL * _boardI2C
Definition: rgb-led-lighting-shield.hpp:54
@ READ_OFFTIME_GREEN
Definition: rgb-led-lighting-shield-reg.hpp:70
Error_t init()
Initialization.
Definition: rgb-led-lighting-shield.cpp:49
@ INTENSITY_GREEN
Definition: rgb-led-lighting-shield-reg.hpp:29
@ READ_CURRENT_RED
Definition: rgb-led-lighting-shield-reg.hpp:65
Error_t saveParameters()
Save the current parameters.
Definition: rgb-led-lighting-shield.cpp:321
@ WHITE
Definition: rgb-led-lighting-shield-reg.hpp:88
uint16_t _blueInt
Definition: rgb-led-lighting-shield.hpp:64
@ OFFTIME_RED
Definition: rgb-led-lighting-shield-reg.hpp:44
@ LIME
Definition: rgb-led-lighting-shield-reg.hpp:96
@ SAVEPARAMETERS
Definition: rgb-led-lighting-shield-reg.hpp:53
@ READ_OFFTIME_BLUE
Definition: rgb-led-lighting-shield-reg.hpp:71
@ READ_OFFTIME_RED
Definition: rgb-led-lighting-shield-reg.hpp:69
Definition: rgb-led-lighting-shield-pal-i2c.hpp:24
@ CURRENT_BLUE
Definition: rgb-led-lighting-shield-reg.hpp:35
uint16_t _redOff
Definition: rgb-led-lighting-shield.hpp:59
uint16_t _greenOff
Definition: rgb-led-lighting-shield.hpp:60
@ FUCHSIA
Definition: rgb-led-lighting-shield-reg.hpp:102
@ READ_CURRENT_BLUE
Definition: rgb-led-lighting-shield-reg.hpp:67
@ NAVY
Definition: rgb-led-lighting-shield-reg.hpp:101
RGB LED LIGHTING SHIELD I2C Platform Abstraction Layer.
@ READ_CURRENT_GREEN
Definition: rgb-led-lighting-shield-reg.hpp:66
@ UNINITED
Definition: rgb-led-lighting-shield-types.hpp:48
Status_t _shieldState
Definition: rgb-led-lighting-shield.hpp:52
@ WALKTIME
Definition: rgb-led-lighting-shield-reg.hpp:47
@ INITED
Definition: rgb-led-lighting-shield-types.hpp:49
Error_t setIntensityRed(uint16_t red)
Set intensity of the red-channel.
Definition: rgb-led-lighting-shield.cpp:164
@ TIMEOUT_ERROR
Definition: rgb-led-lighting-shield-types.hpp:38
uint16_t _greenInt
Definition: rgb-led-lighting-shield.hpp:63
Error_t setIntensityRGB(uint16_t red, uint16_t green, uint16_t blue)
Set intensity of all channels.
Definition: rgb-led-lighting-shield.cpp:146
@ OLIVE
Definition: rgb-led-lighting-shield-reg.hpp:95
RGB LED LIGHTING SHIELD Library Registers.
uint16_t _redInt
Definition: rgb-led-lighting-shield.hpp:62
@ MAROON
Definition: rgb-led-lighting-shield-reg.hpp:93
Error_t deinit()
Deinitialization.
Definition: rgb-led-lighting-shield.cpp:124
@ OFFTIME_BLUE
Definition: rgb-led-lighting-shield-reg.hpp:46
@ GRAY
Definition: rgb-led-lighting-shield-reg.hpp:90
@ TEAL
Definition: rgb-led-lighting-shield-reg.hpp:99
RGB LED Lighting Shield Class.
Definition: rgb-led-lighting-shield.hpp:32
@ BLACK
Definition: rgb-led-lighting-shield-reg.hpp:91
Error_t setColor(uint16_t color)
Set a predefined color.
Definition: rgb-led-lighting-shield.cpp:342
@ AQUA
Definition: rgb-led-lighting-shield-reg.hpp:98
@ PURPLE
Definition: rgb-led-lighting-shield-reg.hpp:103
@ CURRENT_RED
Definition: rgb-led-lighting-shield-reg.hpp:33
@ DMXOFF
Definition: rgb-led-lighting-shield-reg.hpp:38
Error_t
Error List.
Definition: rgb-led-lighting-shield-types.hpp:26
RGBShield(I2CPAL *i2c)
Constructor of the RGBShield-Class.
Definition: rgb-led-lighting-shield.cpp:22
@ GREEN
Definition: rgb-led-lighting-shield-reg.hpp:97
@ INTENSITY_RED
Definition: rgb-led-lighting-shield-reg.hpp:28
Error_t setCurrentRGB(uint16_t red, uint16_t green, uint16_t blue)
Set peak-current for the three channels.
Definition: rgb-led-lighting-shield.cpp:264
Definition: rgb-led-lighting-shield-types.hpp:19
@ FADERATE
Definition: rgb-led-lighting-shield-reg.hpp:49