![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Drehen mit Halt und offset um zum Klotz zurück drehen. (Kann nur ein klotz aufheben)
Fork of DrehungMitStopp by
Diff: IRSensor.h
- Revision:
- 2:365bf16abbf6
- Parent:
- 1:d40ff07e2fe0
--- a/IRSensor.h Wed May 10 09:14:12 2017 +0000 +++ b/IRSensor.h Tue May 16 14:14:08 2017 +0000 @@ -13,6 +13,7 @@ ~IRSensor(); void init(AnalogIn* distance, DigitalOut* bit0, DigitalOut* bit1, DigitalOut* bit2, int number); float read(); + float readFitered(); private: AnalogIn* distance; @@ -20,6 +21,7 @@ DigitalOut* bit1; DigitalOut* bit2; int number; + float filteredValue; }; #endif \ No newline at end of file