Re: [Avr-list] I2C on ATtiny45

2008-10-09 Par sujet Ali Tlisov
Olivier MATZ ?: No, if you plan to use the hardware TWI module (i2c), the pin assignation is fixed. In my opinion, the 2 solutions are: - Modify the pcb to invert the 2 pins - If it's really impossible, implement a software i2c, which is not a simple task. By the way, there's an i2c

Re: [Avr-list] I2C on ATtiny45

2008-10-08 Par sujet Olivier MATZ
Sorry, I forgot to CC you. Olivier On Wed, Oct 08, 2008 at 09:57:02AM +0200, Olivier MATZ wrote: > Hi Ali, > > > The question is: Is it possible to reconfigure somehow pin assignation > > in order to use hardware USI module with my pin assignation? I never > > used micros from ATMEL before s

Re: [Avr-list] I2C on ATtiny45

2008-10-08 Par sujet Olivier MATZ
Hi Ali, > The question is: Is it possible to reconfigure somehow pin assignation > in order to use hardware USI module with my pin assignation? I never > used micros from ATMEL before so any suggest highly appreciable. No, if you plan to use the hardware TWI module (i2c), the pin assignation

[Avr-list] I2C on ATtiny45

2008-10-07 Par sujet Ali Tlisov
Hi All! I was given a pcb with ATtiny45 connected to AD7416 temperature sensor via I2C bus. My task was to write a program that reads the temperature but here I've faced some troubles. First the pin assignation confused me. PB0 is used for SCL and PB1 is used for SDA in that pcb, while datashe