root / branches / autonomous_recharging / code / projects / colonet / utilities / robot_wireless_relay / bom.h @ 1390
History | View | Annotate | Download (581 Bytes)
1 | 13 | emarinel | |
---|---|---|---|
2 | #ifndef _BOM_H
|
||
3 | #define _BOM_H
|
||
4 | |||
5 | |||
6 | #include "firefly+_lib.h" |
||
7 | |||
8 | /*
|
||
9 | |||
10 | |||
11 | Bk R Y (Analog)
|
||
12 | ---------
|
||
13 | Green
|
||
14 | Blue
|
||
15 | White
|
||
16 | ---------
|
||
17 | Blue
|
||
18 | White
|
||
19 | |||
20 | */
|
||
21 | |||
22 | |||
23 | #define MONKI AN0 //analog |
||
24 | //------------------------//
|
||
25 | #define MONKL PIN_C2 //green |
||
26 | #define MONK1 PIN_C3 //blue |
||
27 | #define MONK0 PIN_C4 //white |
||
28 | //------------------------//
|
||
29 | #define MONK3 PIN_C5 //blue |
||
30 | #define MONK2 PIN_C6 //white |
||
31 | |||
32 | |||
33 | |||
34 | int getMaxBom( void ); |
||
35 | |||
36 | void bom_on(void); |
||
37 | void bom_off(void); |
||
38 | |||
39 | void output_high(int which); |
||
40 | void output_low(int which); |
||
41 | |||
42 | |||
43 | #endif
|