hsv_rgb.h


1
/*
2
 * hsv_rgb.h
3
 *
4
 *  Created on: 15.10.2011
5
 *      Author: Frank
6
 */
7
8
#ifndef HSV_RGB_H_
9
#define HSV_RGB_H_
10
11
#include <stdint.h>
12
13
typedef struct _colorstruc
14
{
15
  uint16_t H;
16
  uint16_t S;
17
  uint16_t V;
18
  uint16_t Pin_G;
19
  uint16_t Pin_R;
20
  uint16_t Pin_B;
21
} colorstruc;
22
23
extern void hsv_to_rgb12(colorstruc *value);
24
25
#endif /* HSV_RGB_H_ */