Rename project.
This commit is contained in:
parent
509b57fedb
commit
96b6a8bec9
@ -7,9 +7,9 @@ cmake_minimum_required(VERSION 3.26)
|
|||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
|
|
||||||
project(
|
project(
|
||||||
#[[NAME]] lcd-panel
|
#[[NAME]] lcd-panel-i2c
|
||||||
VERSION 0.1
|
VERSION 0.1
|
||||||
DESCRIPTION "Example of using the SSD1306 LCD display with ESP-IDF and LVGL"
|
DESCRIPTION "Using the SSD1306 LCD display with ESP-IDF and LVGL over I2C"
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
# For writing pure cmake components, see the documentation
|
# For writing pure cmake components, see the documentation
|
29
esp/cpp/07_lcd-panel-i2c/README.md
Normal file
29
esp/cpp/07_lcd-panel-i2c/README.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# 07_lcd-panel-i2c
|
||||||
|
|
||||||
|
Using the ESP IDF for drawing to a LCD screen over I2C.
|
||||||
|
|
||||||
|
For instructions on setting up the ESP-IDF see [04_-esp-idf-arduino](./../04_esp-idf-arduino)
|
||||||
|
|
||||||
|
[ESP IDF - I2C](https://docs.espressif.com/projects/esp-idf/en/v5.3.2/esp32/api-reference/peripherals/i2c.html)
|
||||||
|
|
||||||
|
[ESP IDF - LCD](https://docs.espressif.com/projects/esp-idf/en/v5.3.2/esp32/api-reference/peripherals/lcd/index.html)
|
||||||
|
|
||||||
|
[ESP IDF - FreeRTOS](https://docs.espressif.com/projects/esp-idf/en/v5.3.2/esp32/api-reference/system/freertos.html)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Temperature and humidity sensor served on a web page within the local network.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
To build this example run the following commands.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
source ~/path/to/esp-idf/export.sh
|
||||||
|
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
make -j $(nproc)
|
||||||
|
make flash
|
||||||
|
```
|
BIN
esp/cpp/07_lcd-panel-i2c/example.gif
Normal file
BIN
esp/cpp/07_lcd-panel-i2c/example.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 887 KiB |
Before Width: | Height: | Size: 227 KiB After Width: | Height: | Size: 227 KiB |
@ -1,33 +0,0 @@
|
|||||||
# 06_lcd-panel
|
|
||||||
|
|
||||||
This example is largely adapted from those in [ESP32-basic-starter-kit.pdf](./ESP32-basic-starter-kit.pdf).
|
|
||||||
|
|
||||||
The APIs in the original examples paired with this PDF have changed, and I decided to do some different things with the code and/or circuits, but the original code can be [found here](https://www.dropbox.com/scl/fo/6znlij3eb23ih4jxcpv2w/AKvB1t9CCUgoVRVtGen8Yrw?rlkey=z84anl0hs940qf9fpl7l8q8q2&e=1&dl=0).
|
|
||||||
|
|
||||||
This is the same example in [03_temp-humidity-web](./../03_temp-humidity-web), ported to the cmake ESP-IDF build system.
|
|
||||||
|
|
||||||
For instructions on setting up the ESP-IDF see [04_-esp-idf-arduino](./../04_esp-idf-arduino)
|
|
||||||
|
|
||||||
This example is largely adapted from those in [ESP32-basic-starter-kit.pdf](./ESP32-basic-starter-kit.pdf).
|
|
||||||
|
|
||||||
The APIs in the original examples paired with this PDF have changed, and I decided to do some different things with the code and/or circuits, but the original code can be [found here](https://www.dropbox.com/scl/fo/6znlij3eb23ih4jxcpv2w/AKvB1t9CCUgoVRVtGen8Yrw?rlkey=z84anl0hs940qf9fpl7l8q8q2&e=1&dl=0).
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Temperature and humidity sensor served on a web page within the local network.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
To build this example run the following commands.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
source ~/path/to/esp-idf/export.sh
|
|
||||||
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ..
|
|
||||||
make -j $(nproc)
|
|
||||||
make flash
|
|
||||||
```
|
|
||||||
|
|
||||||
[ESP-IDF I2C documentation](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/peripherals/i2c.html)
|
|
Loading…
x
Reference in New Issue
Block a user