Part One of my Project Course. Implementation of simple I/O and a custom defined protocol over UDP/IP.

Dependencies:   C12832 LM75B mbed EthernetInterface mbed-rtos

Revision:
0:88d3b9015f7c
Child:
2:6bfe732ba6bc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/temperature.h	Mon Feb 26 11:25:59 2018 +0000
@@ -0,0 +1,16 @@
+#pragma once
+#include "LM75B.h"
+#include "mbed.h"
+
+namespace ProjectOne{
+    
+    class Temperature{
+        public:
+            //LM75B sensor(p28,p27);
+            Temperature(PinName firstPin=p28, PinName secondPin=p27);
+            float readTemperature(void);
+        private:
+            LM75B sensor;
+    };
+};
+