with my code you'll read 8 bit in one operation


you must connect DB25 b0-b7 to input PORTB b0-b7