a
Dependencies: Servo ServoArm mbed
Fork of PES_Official-TestF by
Diff: Sources/Leiste.cpp
- Revision:
- 17:4e1be70bdedb
- Parent:
- 15:915f8839fe48
diff -r 915f8839fe48 -r 4e1be70bdedb Sources/Leiste.cpp --- a/Sources/Leiste.cpp Thu May 11 18:57:45 2017 +0000 +++ b/Sources/Leiste.cpp Thu May 18 14:27:09 2017 +0000 @@ -15,7 +15,7 @@ this->leiste->position(UP_POS); } -int Leiste::UpToDown(){ +int Leiste::upToDown(){ static float pos=UP_POS; if(pos>DOWN_POS) { pos-=3; @@ -28,7 +28,7 @@ } } -int Leiste::DownToUp(){ +int Leiste::downToUp(){ static float pos=DOWN_POS; if(pos<UP_POS) { pos+=3;