
Minor BioRobotics BMT Hierbij publish ik mijn code public ter inspiratie voor komende jaarlagen. Het gaat om een serial robot met twee links en een haak als end-effector. Veel plezier ermee!
Dependencies: mbed QEI HIDScope biquadFilter MODSERIAL FastPWM
Diff: main.cpp
- Revision:
- 4:784cc0f3c97b
- Parent:
- 3:4a673901c19f
- Child:
- 5:7e2c6d2235fe
--- a/main.cpp Wed Sep 25 08:40:00 2019 +0000 +++ b/main.cpp Wed Sep 25 09:16:59 2019 +0000 @@ -37,7 +37,8 @@ //****************************************************************************** void main_loop() { //Beginning of main_loop() - pc.printf("main_loop is running succesfully \r\n"); + //pc.printf("main_loop is running succesfully \r\n"); //confirmation that main_loop is running + // 4.1 Measure Analog and Digital input signals ******************************** // 4.2 Run state-machine(s) **************************************************** @@ -63,7 +64,7 @@ "Marleen van der Weij - s1800078 \r\n" "Mevlid Yildirim - s2005735 \r\n"); - loop_ticker.attach(&main_loop,0.001f); //Run the function main_loop1000 times per second + loop_ticker.attach(&main_loop,0.1f); // change back to 0.001f //Run the function main_loop 1000 times per second // 5.2 While loop in main function********************************************** while (true) { } //Is not used but has to remain in the code!!