/* rgb.h 
 * Header file for STM8 RGB module
 * /

/* Public typedfes, enums, structs */

/* Allows correct timing to occur. Timer output is inverted for CA display */
typedef enum {
	CA,
	CC
} led_type;

/* Public functions */
void rgbInit(led_type ledType);
void rgbStep(void);
void rgbSetColour(u8 r, u8 g, u8 b);
void rgbNewCycle(void);

