
Originally Posted by
xnihilo
Sayzer,
There IS a
DEFINE OSC 8
in my program, i just forgot to paste it...
Here are some things i will have to check/do:
- solder a 8 pins socket on a protoboard instead of breadboard and solder connexions
- use 2k wpu only on sda instead of a 4.7k wpu on each scl and sda
- swap with another pic16f690 in case the one i use is defect
- swap with another 24lc08b in case the one i use is defect
- try a huge pause 50 instead of pause 5 after the i2cwrite in case it is a timing problem
- declare the eeprom address variable as a word instead of as a byte
- declare "eep_address" instead of "ep_address" (i wonder how i didn't see this typing error!)
- try to program a specific value in byte 0 of the eeprom using my pic-pg2 programmer and see if i get this value back with an i2cread
besides this i don't se what i can do...
How did you NOT get an error then?
Also, when you change your code after you asked some questions about it, it is difficult to follow.
Paste a new one with your modifications, so that we can see what the difference was.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks