??? 11/03/08 12:56 Read: times |
#159566 - Without the code this will go on forever Responding to: ???'s previous message |
Mahesh Joshi said:
Only difference between the 2 codes is 1> SFR initialisation 2> Interrupt vector number. Surely this must be something to do with it. I have never used the 668/9 chips but the i2c SFR initialisation should be identical. I have used the Atmel i2c (TWI) and it is almost exactly the same as for the Atmel AVR chips. The registers have different names. Within a product family, the register locations may move but the SFR names and SFR_bit_names generally stay the same. David. |