colorpal library
v0.5
Simplifies monitoring ColorPAL sensor with the Propeller.
Main Page
Data Structures
Files
File List
Globals
colorpal.h
Go to the documentation of this file.
1
15
#ifndef COLORPAL_H
16
#define COLORPAL_H
17
18
#if defined(__cplusplus)
19
extern
"C"
{
20
#endif
21
22
26
typedef
struct
colorpal_serinfo
27
{
28
int
rx_pin;
29
int
tx_pin;
30
int
mode;
31
int
baud;
32
int
ticks;
33
}
colorPal_t
;
34
35
40
typedef
text_t
colorPal
;
41
42
52
colorPal *colorPal_open(
int
sioPin);
53
54
61
void
colorPal_close(colorPal *device);
62
63
75
void
colorPal_getRGB(colorPal *device,
int
*r,
int
*g,
int
*b);
76
77
78
#if defined(__cplusplus)
79
}
80
#endif
81
/* __cplusplus */
82
#endif
83
/* COLORPAL_H */
84
85
Generated on Wed Mar 12 2014 22:35:56 for colorpal library by
1.8.1.2