#include "twi.h" void twi_init(void) { TWSR=0x00; TWBR=0x47;//see how to configure clock freq of twi TWCR =(1<