restructure and cleanup

This commit is contained in:
2023-03-05 18:12:04 +01:00
parent ec7b4eb16d
commit d21004f467
21 changed files with 2006 additions and 271 deletions

24
node/main/i2c.h Normal file
View File

@ -0,0 +1,24 @@
#ifndef _I2C_H_
#define _I2C_H_
#define I2C_SDA_PIN GPIO_NUM_4
#define I2C_SCL_PIN GPIO_NUM_15
#define I2C_NUM I2C_NUM_0
//#define I2C_NUM I2C_NUM
#define I2C_MASTER_FREQ_HZ 400000U /*!< I2C clock of SSD1306 can run at 400 kHz max. */
class I2C_Driver
{
};
void i2c_init();
#endif /* _I2C_H_ */