Local library

Dependencies:   WakeUp PinDetect

Dependents:   Inductive_Sensor Inductive_Sensor_Jasper Inductive_Sensor_3

Revision:
9:3fe744aca1c0
Parent:
7:0b23995256e7
--- a/Bob.h	Wed Sep 07 11:47:37 2016 +0000
+++ b/Bob.h	Wed Sep 21 14:23:19 2016 +0000
@@ -12,7 +12,9 @@
 */
 
 #include "mbed.h"
+#include "mbed_debug.h"
 #include "PinDetect.h"
+#include "WakeUp.h"
 
 class Bob {
     public:
@@ -36,15 +38,16 @@
          *  Powers down the SD card system, the crystal and the LDC1614
          */
         void shutdown_periphery(void);
+        void shutdown_pin(PinName pin, int value = 0, PinMode pull = PullNone );
         void sleep(uint32_t ms);
         
 
         float battery(void);
         
-        void flash(int n);
-        void processing(void);
+        void flash(int n, int led = 0 );
+        void processing( int n = 0 );
         void no_processing(void);
-        void error(void);
+        void error( int n = 0 );
         void no_error(void);
             
     private: