sampleProgram
Dependencies: QEI accelerator bit_test cyclic_io cyclic_var cylinder event_var limit mbed mecanum motor_drive pid pid_encoder rs422_put sbdbt servo
Fork of 17robo_fuzi by
Diff: main.cpp
- Revision:
- 29:f380201ca30f
- Parent:
- 28:72b9af7e1700
- Child:
- 30:57061e222f10
diff -r 72b9af7e1700 -r f380201ca30f main.cpp --- a/main.cpp Thu Aug 24 17:50:01 2017 +0000 +++ b/main.cpp Thu Aug 24 17:53:57 2017 +0000 @@ -167,7 +167,7 @@ cylinder.cyclic(sbdbt.shikaku); enc_cylinder.deg_cylinder_cal(); - if(cylinder.getInState()){ + if(cylinder.getInState() && interrupt){ if(interrupt_reload == 0){ rs422.put(n6_id, 0.8, 0.0); }else{