needed for 1620 test code

Fork of ShiftOut by Ollie Milton

Files at this revision

API Documentation at this revision

Comitter:
el11es
Date:
Tue Sep 27 08:30:42 2016 +0000
Parent:
4:7333dc6fca5c
Commit message:
nothing changed;

Changed in this revision

ShiftOut.h Show annotated file Show diff for this revision Revisions of this file
diff -r 7333dc6fca5c -r f7749e47a29b ShiftOut.h
--- a/ShiftOut.h	Tue Jul 14 07:33:26 2015 +0000
+++ b/ShiftOut.h	Tue Sep 27 08:30:42 2016 +0000
@@ -40,6 +40,10 @@
             }
             *latchout = 1;
         }
+        
+        void set_latch (int val){
+            *latchout = val;
+         }
          
     private :
         DigitalOut *clkout;