Err... right. You couldn't paste the code into your post?
As far as I can tell from your 'screen shot', you are only reading the first bit after clocking in the parallel data. The last 3 digitalwrite()'s are useless. You need to pulse the clock another 7 times with SHIFT/LOAD high, and print the bit read after each clock.
Looking at the EPROM wiring, you don't appear to have anything connected to A12 Pin 1) , A11 (pin 23) , A10 (pin 21) , A8 (pin 25) or A9 (pin 24). With these pins left floating the address can change randomly form one 256 byte 'page' to another at any time. Also /PGM (pin 27) is connected to ground, which puts the EPROM into programming mode. It should be connected to +5V.
sorry about that ...
here is the code:
void setup() {
// put your setup code here, to run once:
Serial.begin(9600); // open the serial port at 9600 bps:
pinMode(13,OUTPUT); //CLOCK
pinMode(12,OUTPUT); //SHIFT-LOAD
pinMode(11,INPUT); //QH OUT
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(12,HIGH); //SHIFT-LOAD HIGH
delay(10);
digitalWrite(13,HIGH); //CLOCK HIGH
delay(10);
digitalWrite(13,LOW); //CLOCK LOW
int val =digitalRead(11); // read the input pin
Serial.print(val,OCT); // print the input pin
}
--------------------------------------------------------------