Does it matter which lead is connected to the Arduino and shift register?
Does this approach negate the advantages of a shift register?
digitalWrite(latch, LOW);digitalWrite (latch, HIGH); // assumes data is stored on this rising edgebyte0 = SPI.transfer(0);byte1 = SPI.transfer(0);byte2 = SPI.transfer(0)
NO switches? One side back to Arduino Gnd, one side to shift register input with pullup resistor to 5V. Shift register reads in a High until switch is pressed, then it reads in a Low.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16