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.
Dependencies: EthernetNetIf mbed
Diff: Sensor/SensorLM60.h
- Revision:
- 0:77d8b45a8f42
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Sensor/SensorLM60.h Wed Aug 11 01:53:35 2010 +0000
@@ -0,0 +1,24 @@
+/**
+ * Sensor interface driver. (Version 0.0.1)
+ *
+ * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems)
+ * http://shinta.main.jp/
+ */
+
+#ifndef _SENSOR_LM60_H_
+#define _SENSOR_LM60_H_
+
+#include <mbed.h>
+
+#include "Sensor.h"
+
+class SensorLM60 : public Sensor {
+public:
+ explicit SensorLM60(PinName pin);
+ virtual ~SensorLM60();
+ virtual double read();
+private:
+ AnalogIn analogInput;
+};
+
+#endif