shift register

Dependents:   Enrico_newproject

Revision:
0:7af9b977e6e9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Shifter.h	Wed Feb 21 19:37:59 2018 +0000
@@ -0,0 +1,19 @@
+#ifndef Shifter_h
+#define Shifter_h
+
+// Include the standard types
+#include "mbed.h"
+
+// Define the Shifter class
+class Shifter
+{
+  public:
+    void write();
+    void setPin(int, bool);
+    void setAll(bool);
+    void clear();
+  private:
+    char shiftRegisters[25];
+};
+
+#endif 
\ No newline at end of file