PropWare
C++ objects and CMake build system for Parallax Propeller
Home
Download
Getting Started
Documentation
Reference
About
Related Links
Namespace List
Class List
File List
Examples
Build System
File List
File Members
simple
colorpal.h
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
colorpal_serinfo
Definition:
colorpal.h:26
text_struct
Structure that contains data used by simple text device libraries.
Definition:
simpletext.h:70
Generated on Sat Aug 27 2016 00:58:09 for PropWare by
1.8.12