1 /* Library made by: g4lvanix
2 * Github repository: https://github.com/g4lvanix/I2C-slave-lib
4 Info: Inititate the library by giving the required address.
5 Read or write to the necessary buffer according to the opperation.
11 #define I2C_SLAVE_REG_COUNT 30
13 extern volatile uint8_t i2c_slave_reg[I2C_SLAVE_REG_COUNT];
15 void i2c_slave_init(uint8_t address);
16 void i2c_slave_stop(void);