vvv

Dependents:   Enrico_newproject_copy

Revision:
0:5ec20ee3f455
diff -r 000000000000 -r 5ec20ee3f455 CD74HC165E.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CD74HC165E.h	Wed Mar 07 21:11:16 2018 +0000
@@ -0,0 +1,21 @@
+#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
\ No newline at end of file