Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

• On Products Compliant to MIL-PRF-38535, All Parameters Are Tested Unless Otherwise Noted. On All Other Products, Production Processing Does Not Necessarily Include Testing of All Parameters.

Pins

PinDescription
QA-QHData Output
SERSerial Data Input
OEOutput Enabled (Active Low)
RCLK (Latch)Register Clock Input
SRCLK (Clock)Shift Register Clock Input
SRCLRShift Register Clear (Active Low)


Arduino Example Code

Code Block
languagecpp
//Define PinModes
pinMode (latchPin,OUTPUT);
pinMode (dataPin, OUTPUT);
pinMode (clkPin, OUTPUT);


//define data
byte data = 0;


//set or clear bits in our byte variable data
bitSet(data,bitToSet);
bitClear(data,bitToClear);


//write out to SR
digitalWrite(latchPin,LOW);
shiftOut(dataPIn,clockPin,LSBFIRST,data);
digitalWrite(latchPin,HIGH);


References

...