Romain Ame
/
Stressed
coucou
Fork of Robot2016_2-0 by
Diff: Functions/func.cpp
- Revision:
- 45:b53ae54062c6
- Parent:
- 44:b1fd7489369f
- Child:
- 47:5658af4e5149
--- a/Functions/func.cpp Wed Apr 13 11:43:10 2016 +0000 +++ b/Functions/func.cpp Wed Apr 13 12:47:47 2016 +0000 @@ -145,4 +145,10 @@ EndR.fall(&ERpressed); EndR.rise(&ERunpressed); ticker.attach_us(&update_main,dt); // 100 Hz +} + +void update_main(void) +{ + odo.update_odo(); + checkAround(); } \ No newline at end of file