> Thomas Wright wrote: > movlw 8 ;8 bit count reg > movwf count > testbit_ > btfsc > gpio,1 ;clock pin on eeprom > goto testbit_ > ti_ > btfss gpio,1 > goto ti_ btfsc gpio,2 > bsf temp,0 bcf status,c > rlf temp > decfsz count > goto testbit_ Hi Thomas A quick look at your code. See the changes I made. In your code, when you found a low on gpio2, you went back to start without shifting the temp reg. Quentin