root / branches / simulator / projects / template / main.c @ 1094
History | View | Annotate | Download (271 Bytes)
1 | 16 | bcoltin | #include <dragonfly_lib.h> |
---|---|---|---|
2 | 1094 | chihsiuh | #include "smart_run_around_fsm.h" |
3 | 16 | bcoltin | |
4 | 857 | bcoltin | int main(void) |
5 | { |
||
6 | dragonfly_init(ALL_ON); |
||
7 | 1094 | chihsiuh | //bom_leds_on(BOM_ALL);
|
8 | //motor1_set(1, 210);
|
||
9 | //motor2_set(1, 200);
|
||
10 | run_around_init(); |
||
11 | 1072 | bneuman | while(1){ |
12 | 1094 | chihsiuh | run_around_FSM(); |
13 | simulator_do(); |
||
14 | } |
||
15 | 16 | bcoltin | return 0; |
16 | } |
||
17 | 773 | kwoo |