wip i2c with aht20

This commit is contained in:
hugo LAMY
2025-03-16 16:56:08 +01:00
parent 986efac082
commit 35582f4286
3 changed files with 415 additions and 66 deletions

View File

@@ -25,6 +25,7 @@ void print_hex_value(char c);
// i2c.c
void i2c_init(void);
void i2c_start(void);
void i2c_start_repeat(void);
void i2c_send_addr_w(uint8_t slave_address);
void i2c_send_addr_r(uint8_t slave_address);
void i2c_write(unsigned char data);