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: mbed MatrixMath LPS25HB_I2C LSM9DS1 Matrix2 PIDcontroller LoopTicker SBUS_without_mainfile UsaPack solaESKF_wind Vector3 CalibrateMagneto FastPWM
Diff: servo.cpp
- Revision:
- 73:be7a8b8188de
- Parent:
- 71:62eb45ecffe9
- Child:
- 74:af3b7cedff56
diff -r 43dfa7a597e7 -r be7a8b8188de servo.cpp
--- a/servo.cpp Fri Aug 20 07:51:51 2021 +0000
+++ b/servo.cpp Wed Aug 25 07:01:12 2021 +0000
@@ -72,14 +72,5 @@
}
servo.pulsewidth_us(servoOut[0]);
-
- if(loop_count >= 3)
- {
- writeSdcard();
- loop_count = 1;
- }
- else
- {
- loop_count +=1;
- }
+ send2center();
}
\ No newline at end of file