AVR-Playground/i2c.h
2024-03-24 00:00:32 +01:00

8 lines
No EOL
164 B
C

#pragma once
#include <stdint.h>
void I2C_init();
uint8_t I2C_start(uint8_t addr);
void I2C_stop();
uint8_t I2C_write(uint8_t data);
uint8_t I2C_read(uint8_t ack);