File reorg, step1
This commit is contained in:
10
lib/I2C/I2C_Driver.h
Normal file
10
lib/I2C/I2C_Driver.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
#include <Wire.h>
|
||||
|
||||
#define I2C_SCL_PIN 41
|
||||
#define I2C_SDA_PIN 42
|
||||
|
||||
void I2C_Init(void);
|
||||
|
||||
bool I2C_Read(uint8_t Driver_addr, uint8_t Reg_addr, uint8_t *Reg_data, uint32_t Length);
|
||||
bool I2C_Write(uint8_t Driver_addr, uint8_t Reg_addr, const uint8_t *Reg_data, uint32_t Length);
|
||||
Reference in New Issue
Block a user