shift register
Dependents: Enrico_newproject_copy Enrico_copy Enrico_copy2 Project_ORBE
Fork of Shifter by
Diff: Shifter.h
- Revision:
- 0:7af9b977e6e9
- Child:
- 3:4511084b5546
--- /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