8 lines
No EOL
164 B
C
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); |