righty. now im at home i can give you th full code. i made an new test program and it still doesnt work
Code:
trisa=%00000000
trisb=%00000000
t1 var byte
high portb.0
pause 100
low portb.0
pause 100
high portb.3
pause 100
low portb.3
pause 100
read 0,t1
portb=t1
end
it has 8 LEDs connected to portb. 2 of them flash on startup to prove the chip is working then it should read a value from EEPROM[0] and display it using the LEDs.
i set the EEPROM values in the programmer software before programming. if i read everything back from the chip then i can see it definately has set the EEPROM.
no matter what value i put in the EEPROM the LEDs always tell me the value is %11111110
Bookmarks