Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: RoboClaw mbed StepperMotor
Fork of RoboClaw by
Diff: Functions/func.h
- Revision:
- 45:b53ae54062c6
- Parent:
- 44:b1fd7489369f
- Child:
- 46:5658af4e5149
- Child:
- 47:be4eebf40568
--- a/Functions/func.h Wed Apr 13 11:43:10 2016 +0000 +++ b/Functions/func.h Wed Apr 13 12:47:47 2016 +0000 @@ -9,6 +9,7 @@ #include "AX12.h" #define SEUIL 0.25 +#define dt 10000 extern Serial logger; extern RoboClaw roboclaw; @@ -27,6 +28,8 @@ extern InterruptIn EndL; extern AX12 left_hand; extern AX12 right_hand; +extern Ticker ticker; +extern Odometry odo; extern int i, state; extern bool EL, EZ, ER; @@ -46,5 +49,6 @@ void init_interrupt(void); void goHome(void); void checkAround(void); +void update_main(void); #endif \ No newline at end of file
