vf
Dependencies: Servo ServoArm mbed
Fork of PES_Official by
Diff: Sources/Leiste.cpp
- Revision:
- 16:f157e5ccd7d3
- Parent:
- 15:915f8839fe48
--- a/Sources/Leiste.cpp Thu May 11 18:57:45 2017 +0000 +++ b/Sources/Leiste.cpp Mon May 15 17:35:24 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;