#ifndef I2C_H #define I2C_H #include #define NACK 0 #define ACK 1 void i2c_start_condition(void); void i2c_restart_condition(void); void i2c_stop_condition(void); void i2c_send(uint8_t b); uint8_t i2c_recv(uint8_t ack); #endif // I2C_H