Voili voilou
Dependencies: RoboClaw StepperMotor mbed
Fork of Robot2016_2-0 by
Diff: Functions/func.h
- Revision:
- 44:b1fd7489369f
- Parent:
- 41:b5a2fbc20beb
- Child:
- 45:b53ae54062c6
--- a/Functions/func.h Wed Apr 13 11:30:16 2016 +0000 +++ b/Functions/func.h Wed Apr 13 11:43:10 2016 +0000 @@ -21,6 +21,12 @@ extern AnalogIn capt1; extern AnalogIn capt2; extern AnalogIn capt3; +extern InterruptIn mybutton; +extern InterruptIn EndR; +extern InterruptIn EndZ; +extern InterruptIn EndL; +extern AX12 left_hand; +extern AX12 right_hand; extern int i, state; extern bool EL, EZ, ER; @@ -37,6 +43,7 @@ void JPO(void); void init_ax12(void); +void init_interrupt(void); void goHome(void); void checkAround(void);