Weather control switch for connected day. NXP LPC 1768 module. Ethernet connectivity.

Dependencies:   EthernetInterface mbed-rtos mbed nanoservice_client_1_12

Fork of Trenton_Switch_LPC1768_WIFLY by Demo Team

Revision:
26:3467812d5832
Parent:
25:cb16c5248769
diff -r cb16c5248769 -r 3467812d5832 PIR/PIR.h
--- a/PIR/PIR.h	Wed Dec 03 09:03:29 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-/*
-    PIR.cpp -  sensor library
-    Developed by Andrea Corrado   
-*/
-
-
-#ifndef MBED_PIR_H
-#define MBED_PIR_H
-
-#include "mbed.h"
-
-/* EXAMPLE
-
-#include "mbed.h"
-#include "PIR.h"
-
-Serial pc (USBTX,USBRX);
-
-PIR sensor(PTB2);
-
-int main()
-{
-    
-if (sensor.getdetection()) {
-pc.printf("\n\r Detection");
-  sensor.resetdetection(); 
-  }
-}
-*/
-
-class PIR {
-    
-public:
-
-    PIR (PinName pin);
-    
-    void pir_interrupt();
-    
-    bool getdetection(){return _detection;}
-    
-    void resetdetection(){_detection = false;}
-
-protected:
-    InterruptIn _myint;
-    bool _detection;
-    Timer debounce;
-    
-};
-
-#endif
\ No newline at end of file