mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-10-03 18:18:47 -04:00
Update README.md
This commit is contained in:
parent
100275f06c
commit
27901d914d
@ -22,12 +22,17 @@ 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
|
||||
|
||||
We only need to run this code once.
|
||||
i2c_config is used only once.
|
||||
SSD1306 and other device use the same frequency.
|
||||
__Please note that the maximum i2c clock frequency of SSD1306 is 400KHz.__
|
||||
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.
|
||||
|
||||
```
|
||||
@ -189,6 +194,12 @@ SPI3_HOST --+-- SPI SSD1306
|
||||
+---Any SPI Device
|
||||
```
|
||||
|
||||
SSD1306 and other devices use different frequencies.
|
||||
```
|
||||
SPI2_HOST --+-- SPI SSD1306 using 1MHz
|
||||
+---Any I2C Device using 2MHz
|
||||
```
|
||||
|
||||
We only need to run this code once.
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user