root / trunk / code / behaviors / target_practice / beaconBot / main.c @ 1484
History | View | Annotate | Download (269 Bytes)
1 | 16 | bcoltin | #include <dragonfly_lib.h> |
---|---|---|---|
2 | |||
3 | 857 | bcoltin | int main(void) |
4 | { |
||
5 | 1419 | jsexton | |
6 | 967 | alevkoy | /* initialize components, set wireless channel */
|
7 | 857 | bcoltin | dragonfly_init(ALL_ON); |
8 | 1420 | jsexton | |
9 | bom_on(); |
||
10 | 1419 | jsexton | |
11 | 1394 | cmar | while (1) { |
12 | 967 | alevkoy | |
13 | 1420 | jsexton | orbs_set_color(GREEN, BLUE); |
14 | 1419 | jsexton | |
15 | 1420 | jsexton | delay_ms(1000);
|
16 | 1419 | jsexton | |
17 | 1420 | jsexton | orbs_set_color(BLUE, GREEN); |
18 | 1419 | jsexton | |
19 | 1420 | jsexton | delay_ms(1000);
|
20 | |||
21 | 967 | alevkoy | } |
22 | |||
23 | return 0; |
||
24 | 16 | bcoltin | } |