msv-clubhouse-node/node/main/i2c.h

24 lines
306 B
C
Raw Normal View History

2023-03-05 18:12:04 +01:00
#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_ */