Gruppe 3
/
PES4
xx
Fork of PES1 by
Diff: main.cpp
- Revision:
- 17:caf5ae550f2e
- Parent:
- 16:0a1703438e8b
- Child:
- 18:6547e54ac803
--- a/main.cpp Fri Apr 21 11:53:23 2017 +0000 +++ b/main.cpp Tue Apr 25 12:26:04 2017 +0000 @@ -15,10 +15,6 @@ Servo servos1(PB_7); Servo servos2(PA_6); -//Periphery for limit switch -DigitalIn limitSwitch1(PA_10); -DigitalIn limitSwitch2(PB_13); - //Periphery for Switch ON/OFF DigitalIn switchOnOff(USER_BUTTON); @@ -31,7 +27,7 @@ //indicator leds arround robot DigitalOut leds[] = { PC_8, PC_6, PB_12, PA_7, PC_0, PC_9 }; -Roboter roboter1(&distance, &bit0, &bit1, &bit2, &pwmL, &pwmR, &servos1,&servos2, &limitSwitch1, &limitSwitch2); +Roboter roboter1(&distance, &bit0, &bit1, &bit2, &pwmL, &pwmR, &servos1,&servos2); int main() {