Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Versuch20 by
Diff: Classes/IRSensorGF.h
- Revision:
- 5:64d7b4b69fdf
- Parent:
- 0:b886f13e4ac6
--- a/Classes/IRSensorGF.h Tue May 01 11:42:38 2018 +0000
+++ b/Classes/IRSensorGF.h Sat May 12 12:49:18 2018 +0000
@@ -4,17 +4,18 @@
#include <cstdlib>
#include <mbed.h>
-class IRSensorGF {
-
+class IRSensorGF
+{
+
public:
IRSensorGF(AnalogIn& distance);
-
+
virtual ~IRSensorGF();
int read();
-
+
private:
AnalogIn& distance;
};
-#endif /* IR_SENSORGF_H_ */
\ No newline at end of file
+#endif /* IR_SENSORGF_H_ */
\ No newline at end of file
