thermometer, hygrometer and barometer. Using VFD for display.

Dependencies:   AM2321 LPS331_I2C mbed-rtos mbed EthernetInterface

Revision:
0:29eeb8eaefee
Child:
1:9755b5a98ffb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat May 24 14:52:01 2014 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+
+AnalogIn thermo_ic(p20);
+Serial pc(USBTX, USBRX);
+
+int main() {
+    while(1) {
+        //0.0V <= Vout <= 1.0V at 0C to 100C
+        float temperature = thermo_ic.read()*3.3*100;
+        pc.printf("temperature=%f\n", temperature);
+        wait(1);
+    }
+}