Revision 1547
found one bug and changed some debug prints
main.c | ||
---|---|---|
2 | 2 |
|
3 | 3 |
int main(void) |
4 | 4 |
{ |
5 |
|
|
6 | 5 |
/* initialize components, set wireless channel */ |
7 | 6 |
if (dragonfly_init(/* ANALOG|ORB|BOM */ ALL_ON) != 0) { |
8 | 7 |
orbs_set_color(YELLOW, YELLOW); |
... | ... | |
13 | 12 |
orbs_set_color(RED, RED); |
14 | 13 |
while(1) { ; } |
15 | 14 |
} |
16 |
|
|
17 |
|
|
15 |
|
|
16 |
while(1); |
|
17 |
|
|
18 | 18 |
while (1) { |
19 | 19 |
|
20 | 20 |
orbs_set_color(GREEN, BLUE); |
Also available in: Unified diff