Revision 733
reverted projects/template/ directory to pre-demo state. moved run_around demo code into behaviors/smart_run_around_fsm/ directory.
main.c | ||
---|---|---|
1 | 1 |
#include <dragonfly_lib.h> |
2 |
#include "smart_run_around_fsm.h" |
|
3 | 2 |
|
4 | 3 |
int main(void) { |
5 | 4 |
dragonfly_init(ALL_ON); |
6 | 5 |
range_init(); |
7 | 6 |
//orb_enable(); |
8 | 7 |
usb_puts("Turned on!\n"); |
9 |
run_around_init(); |
|
10 |
while(1) { |
|
11 |
run_around_FSM(); |
|
12 |
} |
|
13 | 8 |
return 0; |
14 | 9 |
} |
Also available in: Unified diff