20void LedSetAll(uint8_t r, uint8_t g, uint8_t b);
30void LedSet(uint8_t led, uint8_t r, uint8_t g, uint8_t b);
39void LedSetHue(uint8_t led, uint8_t hue, uint8_t level);
49void LedGet(uint8_t led, uint8_t *r, uint8_t *g, uint8_t *b);
60void hueToRGB(uint8_t hue, uint8_t light, uint8_t *r, uint8_t *g, uint8_t *b);
91uint8_t random_byte(
void);
void shiftLEDCircleLeft(uint8_t places)
Shift the LEDs in the circle to the left by a specified number of places.
Definition mood_ring_small_api.c:127
void AdjustBrightness(uint8_t led, float scale)
Adjust the brightness of a specified LED by a scale factor.
Definition mood_ring_small_api.c:215
void hueToRGB(uint8_t hue, uint8_t light, uint8_t *r, uint8_t *g, uint8_t *b)
Convert a hue and light level to RGB values.
Definition mood_ring_small_api.c:247
void LedRingUpdate(void)
Update the LED ring with the current values.
Definition led_ring_api.c:149
void LedSetAll(uint8_t r, uint8_t g, uint8_t b)
Set all LEDs to the specified RGB values.
Definition led_ring_api.c:83
void shiftLEDCircleRight(uint8_t places)
Shift the LEDs in the circle to the right by a specified number of places.
Definition mood_ring_small_api.c:96
void LedSetHue(uint8_t led, uint8_t hue, uint8_t level)
Set the specified LED to the given hue and light level.
Definition led_ring_api.c:102
void LedSet(uint8_t led, uint8_t r, uint8_t g, uint8_t b)
Set the specified LED to the given RGB values.
Definition led_ring_api.c:91
void LedGet(uint8_t led, uint8_t *r, uint8_t *g, uint8_t *b)
Get the current RGB values of the specified LED.
Definition mood_ring_small_api.c:240