Hi. This is the feed program for Cosm. (The previous name of the services is Pachube.)

Dependencies:   mbed ThermistorPack Pachube ConfigFile EthernetNetIf TextLCD HTTPClient_ToBeRemoved FatFileSystem SDFileSystem

Revision:
0:521ba375aa0f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mylib/ThermistorPack/ThermistorLM60.cpp	Mon Aug 06 12:37:59 2012 +0000
@@ -0,0 +1,22 @@
+/**
+ * Thermistor interface driver. (Version 0.0.1)
+ *
+ * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems)
+ * http://shinta.main.jp/
+ */
+
+#include "ThermistorLM60.h"
+
+ThermistorLM60::ThermistorLM60(PinName pin)
+        : analogInput(pin) {
+}
+
+ThermistorLM60::~ThermistorLM60() {
+}
+
+double ThermistorLM60::read() {
+    /*
+     * The value range of analogInput.read() is 0.0 to 1.0.
+     */
+    return ((analogInput.read() * 3.3) - 0.424) / 0.00625;
+}