Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing with 595 shift register

Hey guys, I just have a quick question regarding writing multiple statements with the shiftOut() fucntion when it comes to sn74hc595 registers. Would it be possible to do any of these example below to "animate" let's say a 8x8 led matix? void loop() { digitalWrite(latchPin, LOW); shiftOut(dataPin, clockPin, MSBFIRST, x) delay(10) shiftOut(dataPin, clockPin, MSBFIRST, y); delay(10) shiftOut(dataPin, clockPin, MSBFIRST, z); digitalWrite(latchPin, HIGH); } void loop() { digitalWrite(latchPin, LOW); shiftOut(dataPin, clockPin, MSBFIRST, x) digitalWrite(latchPin, HIGH); delay(10); digitalWrite(latchPin, LOW); shiftOut(dataPin, clockPin, MSBFIRST, y) digitalWrite(latchPin, HIGH); } Here is the datesheet of 74hc595 http://www.componentschip.com/details/Texas-Instruments/74HC595D.html
0 Kudos
Message 1 of 1
(2,502 Views)