Changed to components

This commit is contained in:
nopnop2002 2022-04-26 15:21:29 +09:00
parent dbb01f15f7
commit b7b079c496
2 changed files with 8 additions and 23 deletions

View File

@ -8,32 +8,12 @@ I used [this](https://github.com/dhepper/font8x8) font file.
esp-idf v4.4 or later.
This is because this version supports ESP32-C3.
# Installation for ESP32
# Installation for
```
git clone https://github.com/nopnop2002/esp-idf-ssd1306
cd esp-idf-ssd1306/
idf.py set-target esp32
idf.py menuconfig
idf.py flash
```
# Installation for ESP32-S2
```
git clone https://github.com/nopnop2002/esp-idf-ssd1306
cd esp-idf-ssd1306/
idf.py set-target esp32s2
idf.py menuconfig
idf.py flash
```
# Installation for ESP32-C3
```
git clone https://github.com/nopnop2002/esp-idf-ssd1306
cd esp-idf-ssd1306/
idf.py set-target esp32c3
cd esp-idf-ssd1306/TextDemo/
idf.py set-target {esp32/esp32s2/esp32s3/esp32c3}
idf.py menuconfig
idf.py flash
```

5
TextDemo/README.md Normal file
View File

@ -0,0 +1,5 @@
# TextDemo for ssd1306
![TextDemo](https://user-images.githubusercontent.com/6020549/165234668-eee65290-c5d3-4ca4-aa51-3c8225ead910.JPG)