#include #include #include void error(void); int main(void) { DDRA=0xff; //Freischalten PORTA=0x00; uint8_t twst; //TWSR - Register löschen TWSR=0x00; //Slave - Adresse Festlegen (80h) //General Call disabled TWAR=0x80; //TWEN must be written to one to enalbe the TWI //TWEA must be wirtten to one to enalbe the acknowledgement of the device's own Slave adress or Generall Call //TWSTA and TWSTO must be written to zero. TWCR=(1<