shift register

Dependents:   Enrico_newproject

Shifter.h

Committer:
billycorgan123
Date:
2018-02-21
Revision:
0:7af9b977e6e9

File content as of revision 0:7af9b977e6e9:

#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