shift register

Dependents:   Enrico_newproject_copy Enrico_copy Enrico_copy2 Project_ORBE

Fork of Shifter by marco valli

Shifter.h

Committer:
billycorgan123
Date:
2018-05-30
Revision:
3:4511084b5546
Parent:
0:7af9b977e6e9

File content as of revision 3:4511084b5546:

#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[16];
};

#endif