yet another 18B20 Temperature sensor. variable number of sensors working in parasite mode, serial 16x2 display with diagnostic output and post to a rest web service

Dependencies:   EthernetInterface HTTPClient NTPClient mbed-rtos mbed

Revision:
0:53f05303850a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sparkfun.h	Mon Dec 31 12:08:24 2012 +0000
@@ -0,0 +1,27 @@
+#ifndef SPARKFUN_H
+#define SPARKFUN_H
+
+#include "mbed.h"
+
+class SparkFun : public Serial {
+public:
+    SparkFun(PinName tx);
+
+    // low level functions
+    void clear(void);
+    void set_cursor_position(int pos);
+    void control_sequence(char c);
+    
+    // high level functions
+    void print_init_message(void);
+    void show_sensor_measure(char *name, char *measure);
+    void clear_current_sensor(void);
+    void show_current_sensor(char kind, int nr, char status = ' ');
+    void show_current_status(char status);
+    void show_network_status(char status);
+    void show_ntp_status(char status);
+    void show_spare_status(char status);
+    void show_time_text(char *text);
+};
+
+#endif