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: Farbsensor IRSensorLib PID_Control Servo mbed PixyLib
Diff: liftAnsteuerung.cpp
- Revision:
- 8:077d0bb213a2
- Parent:
- 7:5949f408b6da
- Child:
- 12:472b26872a42
diff -r 5949f408b6da -r 077d0bb213a2 liftAnsteuerung.cpp
--- a/liftAnsteuerung.cpp Wed May 17 07:38:41 2017 +0000
+++ b/liftAnsteuerung.cpp Thu May 18 09:12:46 2017 +0000
@@ -25,7 +25,9 @@
}
void LiftAnsteuerung::steuerung(){
+ if (pc) {
pc->printf("M1: %d, M2: %d\n\r", M1, M2);
+ }
if (M1>0) {
servoLift->write(1.2f);
M1--;