Driver for a binary on/off presence device

Dependents:   mbed-IBooth-ETH

Revision:
1:9d2b641a9280
Parent:
0:21320a151be0
--- a/Presence.h	Wed Dec 10 14:06:35 2014 +0000
+++ b/Presence.h	Wed Feb 04 17:21:13 2015 +0000
@@ -1,5 +1,5 @@
 /*
-    Presence.cpp -  presence sensor library
+    presence.cpp -  presence sensor library
     Developed by Andrea Corrado & Eric Gowland
     
     Connect to a hardware device that is boolean present/not present. Such as PIR or Rangefinder with appropriate signalling.
@@ -11,11 +11,11 @@
 
 #include "mbed.h"
 
-class Presence{
+class presence{
     
 public:
 
-    Presence(PinName pin, bool true_on_rise, int debounce_time_ms);
+    presence(PinName pin, bool true_on_rise, int debounce_time_ms);
     bool isPresent();
     
 private: