projectwerk

Dependencies:   NeoPixelString SimplyLog

Fork of NeoPixelI2cSlave by Nico De Witte

Revision:
3:02931c2b1e82
diff -r e0269262d1f2 -r 02931c2b1e82 strobe.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/strobe.h	Sat Jan 09 13:10:19 2016 +0000
@@ -0,0 +1,24 @@
+#pragma once
+#include "mbed.h"
+#include "neopixel_i2c_daemon.h"
+#include "neopixel_string.h"
+#include <vector>
+#include "neopixel.h"
+
+enum StrobeState { SON, SOFF } ;
+class NeoPixelI2cDaemon;
+class Strobe{
+    private:
+    Ticker ticker;
+    bool doExecute;
+    StrobeState state;
+    NeoPixelI2cDaemon * freddy;
+    
+    public:
+    
+    Strobe(NeoPixelI2cDaemon * deamon);
+    void execute();
+    void isrTicker();
+    void strstart();
+    void strstop(); 
+    };
\ No newline at end of file