Revision 696
recompiled library - orb_init was called twice by dragonfly init. template folder contains run around demo code (to be restored post-demo). the ords appear to work (at least for demo).
main.c | ||
---|---|---|
1 | 1 |
#include <dragonfly_lib.h> |
2 |
#include "smart_run_around_fsm.h" |
|
2 | 3 |
|
3 | 4 |
int main(void) { |
4 | 5 |
dragonfly_init(ALL_ON); |
6 |
range_init(); |
|
7 |
//orb_enable(); |
|
8 |
usb_puts("Turned on!\n"); |
|
9 |
run_around_init(); |
|
10 |
while(1) { |
|
11 |
run_around_FSM(); |
|
12 |
} |
|
5 | 13 |
return 0; |
6 | 14 |
} |
Also available in: Unified diff