I2C

Inter-Integrated Circuit

I2C Block Diagram

GUI (Graphical Programming Interface:

API (Application Programming Interface):

C API:

void init_I2C(int baudrate);

int write_I2C(int addr_7bit, int num_write_bytes, int *write_data);

void write_read_I2C(int addr_7bit, int num_read_bytes, int *write_data, int *read_data);



PYTHON API:

init_i2c(baudrate)

write_i2c(addr_7bit, i2c_data_list)

write_read_i2c(addr_7bit, write_list, num_read_bytes)