root / branches / autonomous_recharging / code / projects / autonomous_recharging / charging_station / main.c @ 98
History | View | Annotate | Download (345 Bytes)
1 | 98 | bcoltin | #include <firefly+_lib.h> |
---|---|---|---|
2 | 85 | bcoltin | |
3 | #include <wireless.h> |
||
4 | #include <wl_token_ring.h> |
||
5 | |||
6 | 98 | bcoltin | #include "charging.h" |
7 | 85 | bcoltin | |
8 | 98 | bcoltin | int main(void) |
9 | { |
||
10 | analog_init(); |
||
11 | led_init(); |
||
12 | orb_init(); |
||
13 | buzzer_init(); |
||
14 | usb_init(BAUD115200); |
||
15 | xbee_init(BAUD9600); |
||
16 | 85 | bcoltin | |
17 | 98 | bcoltin | //dragonfly_init(ALL_ON);
|
18 | |||
19 | wl_init(); |
||
20 | wl_token_ring_register(); |
||
21 | charging_init(); |
||
22 | |||
23 | while (1) |
||
24 | 85 | bcoltin | wl_do(); |
25 | 98 | bcoltin | |
26 | return 0; |
||
27 | 85 | bcoltin | } |