With this program the buttons on the biorobotics shield can be used to move the arms. both buttons pressed means shoot. Also SW3 can be pressed to adjust controller constants via Serial connection
Dependencies: HIDScope QEI controlandadjust mbed
Diff: main.cpp
- Revision:
- 6:2d67144f217b
- Parent:
- 5:be9f9dcbd9b0
--- a/main.cpp Thu Oct 15 09:51:08 2015 +0000 +++ b/main.cpp Thu Oct 15 10:01:56 2015 +0000 @@ -129,6 +129,8 @@ int main() { mycontroller.cutoff(0.5); + encoder1.reset(); + encoder2.reset(); pc.baud(115200); //tickers hidscope_ticker.attach(&scopedata_activate,1.0/hidscope_frequency);