diff --git a/components/ssd1306/ssd1306_i2c.c b/components/ssd1306/ssd1306_i2c.c index 09407a4..1b8eabc 100644 --- a/components/ssd1306/ssd1306_i2c.c +++ b/components/ssd1306/ssd1306_i2c.c @@ -13,7 +13,9 @@ #define I2C_NUM I2C_NUM_0 //#define I2C_NUM I2C_NUM_1 -#define I2C_MASTER_FREQ_HZ 400000 /*!< I2C master clock frequency. no higher than 1MHz for now */ +//#define I2C_MASTER_FREQ_HZ 400000 /*!< I2C master clock frequency. no higher than 1MHz for now */ +#define I2C_MASTER_FREQ_HZ 800000 /*!< I2C master clock frequency. no higher than 1MHz for now */ +//#define I2C_MASTER_FREQ_HZ 1000000 /*!< I2C master clock frequency. no higher than 1MHz for now */ void i2c_master_init(SSD1306_t * dev, int16_t sda, int16_t scl, int16_t reset) {