Quote Originally Posted by coyotegd View Post
I am using a 16F877 with a 24LC256 in an effort to display a logo on a graphic LCD. The following code should write the logo to the 24LC256 and read 10 of the written addresses from the 24LC256. However, the read retrieves FFH for each address.
addr = 0
write 0+(0..249)
write 249+(0..249)
write 498+(0..169)

read 1231 ????

You seem to write somewhere and read elsewhere. No wonder it reads FF