Brian Jones / HeartBeat

Dependents:   ARM_DAY_PWM

Revision:
2:fc8dbf3231ee
Parent:
1:c102c32513b2
Child:
3:654a22520c76
--- a/HeartBeat.h	Wed Nov 28 21:18:23 2012 +0000
+++ b/HeartBeat.h	Thu Nov 29 14:12:25 2012 +0000
@@ -1,16 +1,18 @@
 #include "mbed.h"
-#include <string>
-#include "definitions.h"
 
 class HeartBeat
 {
 
 public:
     //object creator method, call this to initialize a heartbeat object
-    HeartBeat(PinName LEDPin);
+    HeartBeat(PinName light, PinName pwm);
 
-
+    void turnOn();
+    void pwmIt(float frequency);
 
 private:
-    string _globalResponse;
+
+    DigitalOut led;
+    PwmOut pwmObject;
+    
 };
\ No newline at end of file