Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| lwc:hardware:esp32 [2020/11/26 18:04] – created John Harrison | lwc:hardware:esp32 [2022/08/20 13:53] (current) – John Harrison | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Getting Started ===== | ===== Getting Started ===== | ||
| + | ==== With CLion ==== | ||
| + | * open CLion and create PlatformIO project there. You should have '' | ||
| + | * in terminal search for libraries you need. Example: '' | ||
| + | * add in '' | ||
| + | < | ||
| + | lib_deps = | ||
| + | < | ||
| + | </ | ||
| + | * In CLion: '' | ||
| - | | + | ==== Without CLion ==== |
| - | * create new directory: mkdir path_to_the_new_directory | + | |
| - | * go to it: cd path_to_the_new_directory | + | * create new directory: |
| - | * initialize board: platformio project init --board | + | * go to it: '' |
| + | * initialize board: | ||
| ==== edit platformio.ini ==== | ==== edit platformio.ini ==== | ||
| + | < | ||
| upload_port = / | upload_port = / | ||
| + | upload_speed = 921600 | ||
| + | monitor_speed = 115200 | ||
| + | build_flags = | ||
| - | '' | + | ; https:// |
| - | '' | + | -D LED_BUILTIN=2 |
| - | '' | + | </code> |
| - | + | ||
| - | '' | + | |
| - | + | ||
| - | '' | + | |
| - | + | ||
| - | \\ | + | |
| Line 49: | Line 56: | ||
| ===== ESP32 Core Board V2 / ESP32 DevKitC ===== | ===== ESP32 Core Board V2 / ESP32 DevKitC ===== | ||
| - | < | + | * no built-in LED. |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | NeoPixelBus< | + | |
| - | </ | + | |
| + | '' | ||
| + | {{: | ||