// send START condition TWCR = (1<<TWINT) | (1<<TWSTA) | (1<<TWEN); // wait until transmission completed while(!(TWCR & (1<<TWINT));
// send START condition, enable interrupt (TWIE) and enable ACK (TWEA) TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); // wait until transmission completed while(!(TWCR & (1<<TWINT))
Ma il TWI (Two-wire Interface) non é un altro nome per il I2C? Ciao Uwe
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16