vvv
Dependents: Enrico_newproject_copy
CD74HC165E.h
- Committer:
- billycorgan123
- Date:
- 2018-03-07
- Revision:
- 0:5ec20ee3f455
File content as of revision 0:5ec20ee3f455:
#ifndef CD74HC165E_H #define CD74HC165E_H #include "mbed.h" class CD74HC165E { public: CD74HC165E (PinName PL, PinName CP, PinName Q7); //PL pin 1 of CD74HC165E loading //CP pin 2 of CD74HC165E clock //CE pin 15 of CD74HC165E clock enable, active low, connected to GND //Q7 pin 9 of CD74HC165E serial out bool* Read(); private: DigitalOut _PL, _CP; DigitalIn _Q7; }; #endif