45#define LED3_ADD_CMD_LEN 2
67#define LED3_CMD_SHUT_DOWN 0x00
73#define LED3_COLOUR_RED 0x5F6080
74#define LED3_COLOUR_ORANGE 0x5F6280
75#define LED3_COLOUR_YELLOW 0x5F7480
76#define LED3_COLOUR_GREEN 0x407F80
77#define LED3_COLOUR_BLUE 0x40609F
78#define LED3_COLOUR_WHITE 0x5F7F9F
79#define LED3_COLOUR_PURPLE 0x58609C
86#define LED3_TIMER_8ms 0xE1
87#define LED3_TIMER_16ms 0xE2
88#define LED3_TIMER_32ms 0xE4
89#define LED3_TIMER_64ms 0xE8
90#define LED3_TIMER_128ms 0xE0
97#define LED3_INTENSITY_1 0x01
98#define LED3_INTENSITY_2 0x02
99#define LED3_INTENSITY_4 0x04
100#define LED3_INTENSITY_8 0x08
101#define LED3_INTENSITY_16 0x10
102#define LED3_INTENSITY_MAX 0x1F
109#define LED3_INCREMENT 0xA0
110#define LED3_DECREMENT 0xC0
111#define LED3_CONSTANT 0x20
led3_status
Enum (LED3 status).
Definition led3_click.h:118
@ LED3_ST_FAIL
Definition led3_click.h:120
@ LED3_ST_OK
Definition led3_click.h:119
uint8_t MIKROSDK_LED3_Initialise(void)
Function that initialises the I2C configuration of the LED3 click.
Definition led3.c:162
uint8_t MIKROSDK_LED3_set_colour(uint32_t colour)
Function that sets the LED using common colours.
Definition led3.c:126
uint8_t MIKROSDK_LED3_set_dimming_and_intensity(uint8_t cmd)
Function that sets the dimming mode (Increment, Decrement, Constant) and the light intensity.
Definition led3.c:87
uint8_t MIKROSDK_LED3_set_timer(uint8_t time)
Function that sets the time interval for the dimming function.
Definition led3.c:154
uint8_t MIKROSDK_LED3_set_rgb(uint8_t red, uint8_t green, uint8_t blue)
Function that sets the rgb value individually.
Definition led3.c:95
uint8_t MIKROSDK_LED3_shut_down(void)
Function that turns off the LED.
Definition led3.c:146