![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
hallo
Fork of PES1 by
Diff: Roboter.cpp
- Revision:
- 17:caf5ae550f2e
- Parent:
- 9:d9e46f9c9e40
- Child:
- 18:3ee1b02ed3aa
diff -r 0a1703438e8b -r caf5ae550f2e Roboter.cpp --- a/Roboter.cpp Fri Apr 21 11:53:23 2017 +0000 +++ b/Roboter.cpp Tue Apr 25 12:26:04 2017 +0000 @@ -1,7 +1,7 @@ #include "Roboter.h" -Roboter::Roboter(AnalogIn* distance, DigitalOut* bit0, DigitalOut* bit1, DigitalOut* bit2, PwmOut* pwmL, PwmOut* pwmR, Servo* s1, Servo* s2,DigitalIn* switch1, DigitalIn* switch2) +Roboter::Roboter(AnalogIn* distance, DigitalOut* bit0, DigitalOut* bit1, DigitalOut* bit2, PwmOut* pwmL, PwmOut* pwmR, Servo* s1, Servo* s2) { @@ -16,8 +16,6 @@ this->pwmL = pwmL; this->s1 = s1; this->s2 = s2; - this->switch1 = switch1; - this->switch2 = switch2; }