Project

General

Profile

Statistics
| Revision:

root / branches / autonomous_recharging / code / projects / autonomous_recharging / charging_station / main.c @ 98

History | View | Annotate | Download (345 Bytes)

1
#include <firefly+_lib.h>
2

    
3
#include <wireless.h>
4
#include <wl_token_ring.h>
5

    
6
#include "charging.h"
7

    
8
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
        
17
        //dragonfly_init(ALL_ON);
18

    
19
        wl_init();
20
        wl_token_ring_register();
21
        charging_init();
22

    
23
        while (1)
24
                wl_do();
25

    
26
        return 0;
27
}
28