Project

General

Profile

Statistics
| Revision:

root / branches / colonetmk2 / code / projects / swarm / robot / main.c @ 1605

History | View | Annotate | Download (297 Bytes)

1 1456 rcahoon
#include <dragonfly_lib.h>
2
#include <wireless.h>
3
#include <wl_token_ring.h>
4
5
int main(void)
6
{
7
    dragonfly_init(ALL_ON);
8
9
    wl_init();
10
    wl_set_channel(0xF);
11
12
    wl_token_ring_register();
13
    wl_token_ring_join();
14
15
    usb_puts("initialized\r\n");
16
17
    while (1)
18
    {
19
            wl_do();
20
    }
21
}