/************************ * i2c minimal library * ************************/ #include #include #include "iic.h" // Initialize i2c void TWI_init(void) { //set SCL to 400kHz TWSR = 0x00; TWBR = 0x0C; //enable TWI TWCR = (1<