Driver for a binary on/off presence device

Dependents:   mbed-IBooth-ETH

Revision:
7:f12e18827f3e
Parent:
6:b1c665320f0c
--- a/Presence.cpp	Mon Feb 09 16:36:27 2015 +0000
+++ b/Presence.cpp	Wed Feb 11 12:36:27 2015 +0000
@@ -45,7 +45,7 @@
 }
 
 
-bool Presence::isPresent(){
+bool presence::isPresent(){
     bool new_detection = (_true_on_rise && _myint == 1) || (!_true_on_rise && _myint == 0);
     if(new_detection)debounce_timer.reset();
     //Poll the pin and update value...