This program is an advanced "IoT" thermometer using LM75B component library. It displays the current value to the Serial host in Celcius or Fahrenheit (possible to change using a switch). It also stores an historic and displays it to the user using the LCD screen. Moreover, you can change the orientation of the screen by turning the device, just like a smartphone.

Dependencies:   C12832 FXOS8700CQ LM75B mbed

Revision:
6:6c61186c8739
Parent:
5:c5d7fca4d111
Child:
7:e5732637dfd0
--- a/main.h	Fri Feb 12 09:45:41 2016 +0000
+++ b/main.h	Mon Feb 22 19:09:17 2016 +0000
@@ -2,7 +2,6 @@
 # define _MAIN_H_
 
 # include "mbed.h"
-# include "rtos.h"
 # include "LM75B.h"
 # include "C12832.h"
 # include "FXOS8700CQ.h"
@@ -10,11 +9,15 @@
 # define MIN_REFRESH_TIME 500
 # define MAX_REFRESH_TIME 5000
 
-#undef _DEBUG
+# undef _DEBUG
 // # define _DEBUG
 
-void rgb_handler(void);
-void sw_handler (void);
-void host_thread(void const*);
+void sw_interrupt(void);
+void host_interrupt(void);
+void process_function(void);
+
+# if defined _DEBUG
+extern Serial pc;
+# endif
 
 #endif /* _MAIN_H_ */
\ No newline at end of file