This is test version of Pokemongo game. ELEC 2645 final project.

Dependencies:   Tone

pokeball/ShiftReg.h

Committer:
shalwego
Date:
2021-04-15
Revision:
0:819c2d6a69ac

File content as of revision 0:819c2d6a69ac:

#ifndef SHIFTREG_H
#define SHIFTREG_H

#include <mbed.h>

/** A simple serial driver for a shift register that uses only three digital out pins.
* Based on a fork of Ollie8/ShiftOut
*/
class ShiftReg {

    public :
    
        ShiftReg();    
        ~ShiftReg();
        void write(int data);
         
    private :
        DigitalOut *clkout;
        DigitalOut *dataout;
        DigitalOut *latchout;
};

#endif

// test!!