mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-09-19 09:45:59 -04:00
Update README.md
This commit is contained in:
parent
27901d914d
commit
0018fc1391
@ -22,12 +22,6 @@ I2C_NUM_1 --+-- I2C SSD1306
|
||||
+---Any I2C Device
|
||||
```
|
||||
|
||||
SSD1306 and other device use the same frequency.
|
||||
__Please note that the maximum i2c clock frequency of SSD1306 is 400KHz.__
|
||||
```
|
||||
I2C_NUM_1 --+-- I2C SSD1306 using 400KHz
|
||||
+---Any I2C Device using 400KHz
|
||||
```
|
||||
|
||||
|
||||
- Legacy driver
|
||||
@ -35,6 +29,13 @@ I2C_NUM_1 --+-- I2C SSD1306 using 400KHz
|
||||
We only need to run this code once.
|
||||
Under ESP-IDF V5.2 or later, this project uses the new I2C driver, but there is an option to force the use of the legacy I2C driver.
|
||||
|
||||
SSD1306 and other device use the same frequency.
|
||||
__Please note that the maximum i2c clock frequency of SSD1306 is 400KHz.__
|
||||
```
|
||||
I2C_NUM_1 --+-- I2C SSD1306 using 400KHz
|
||||
+---Any I2C Device using 400KHz
|
||||
```
|
||||
|
||||
```
|
||||
i2c_config_t i2c_config = {
|
||||
.mode = I2C_MODE_MASTER,
|
||||
@ -77,6 +78,11 @@ The i2c driver must be installed before using this initialization function.
|
||||
```
|
||||
|
||||
- New i2c driver
|
||||
SSD1306 and other devices use different frequencies.
|
||||
```
|
||||
I2C_NUM_1 --+-- I2C SSD1306 using 400KHz
|
||||
+---Any I2C Device using 800KHz
|
||||
```
|
||||
|
||||
We need to run this code on the first i2c device.
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user