Antonia Baumgartner / Mbed 2 deprecated Versuch21

Dependencies:   mbed

Fork of Versuch20 by Alexander Wyss

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IRSensorK.h Source File

IRSensorK.h

00001 #ifndef IR_SENSORK_H_
00002 #define IR_SENSORK_H_
00003 
00004 #include <cstdlib>
00005 #include <mbed.h>
00006 
00007 class IRSensorK {
00008     
00009 public:
00010     IRSensorK(AnalogIn& distance);
00011     
00012     virtual ~IRSensorK();
00013     int read();
00014     
00015 private:
00016     AnalogIn& distance;
00017 
00018 };
00019 
00020 #endif /* IR_SENSORK_H_ */