![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Version12.04.18
Dependencies: mbed
Fork of Micromouse_alpha_copy_copy by
Diff: KontrastSensor.h
- Revision:
- 1:d9e840c48b1e
diff -r a9fe4ef404bf -r d9e840c48b1e KontrastSensor.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/KontrastSensor.h Sat Mar 31 16:45:57 2018 +0000 @@ -0,0 +1,21 @@ +#ifndef KONTRASTSENSOR_H_ +#define KONTRASTSENSOR_H_ + +#include <cstdlib> +#include <mbed.h> + +class KontrastSensor +{ + +public: + + KontrastSensor(AnalogIn& kontrast, int& blackLine); + virtual ~KontrastSensor(); + void check(); +private: + AnalogIn& kontrast; + int& blackLine; + +}; + +#endif /* KONTRASTSENSOR_H_ */ \ No newline at end of file