root / branches / autonomous_recharging / code / projects / autonomous_recharging / charging_station / bays.h @ 116
History | View | Annotate | Download (350 Bytes)
1 |
#ifndef _BAYS_H_
|
---|---|
2 |
#define _BAYS_H_
|
3 |
|
4 |
#define ENABLE_PIN _PIN_A0
|
5 |
#define BOM_PIN _PIN_A1
|
6 |
#define SELECT_0 _PIN_A2
|
7 |
#define SELECT_1 _PIN_A3
|
8 |
#define SELECT_2 _PIN_A4
|
9 |
|
10 |
int active_bay;
|
11 |
|
12 |
// bom & beacon functions
|
13 |
void bays_init(void); |
14 |
void lbom_on(void); |
15 |
void lbom_off(void); |
16 |
void bay_enable(int which); |
17 |
void bay_disable(void); |
18 |
|
19 |
#endif
|
20 |
|