/*
 * rgb_led.h
 *
 *  Created on: Nov 4, 2021
 *      Author: david
 */

#ifndef INC_RGB_LED_H_
#define INC_RGB_LED_H_

#include "stdint.h"

/* TODO: Add more colors? */
typedef enum {
	OFF = 0,
	WHITE = 1,
	RED = 2,
	GREEN = 3,
	BLUE = 4,
	YELLOW = 5,
	MAGENTA = 6,
	CYAN = 7
} rgb_led_color_t;

int8_t rgb_led_set_duty_cycles (uint16_t r_duty, uint16_t g_duty, uint16_t b_duty);
int8_t rgb_led_set_color (rgb_led_color_t color);

#endif /* INC_RGB_LED_H_ */
