Add upload instruction to readme
This commit is contained in:
11
Readme.md
11
Readme.md
@@ -29,6 +29,7 @@ show notifications, display the weather, monitor stuff, show a clock, serve a we
|
|||||||
3. [Schematics](#schematics)
|
3. [Schematics](#schematics)
|
||||||
4. [Demo Code Explanation](#demo-code-explanation)
|
4. [Demo Code Explanation](#demo-code-explanation)
|
||||||
* [Getting Started](#getting-started)
|
* [Getting Started](#getting-started)
|
||||||
|
* [Uploading with PlatformIO](#uploading-with-platformio)
|
||||||
* [Project Structure](#project-structure)
|
* [Project Structure](#project-structure)
|
||||||
* [What the Code Does](#what-the-code-does)
|
* [What the Code Does](#what-the-code-does)
|
||||||
* [Key Features](#key-features)
|
* [Key Features](#key-features)
|
||||||
@@ -166,6 +167,16 @@ This repository contains a basic "Hello, World!" project for the SmartCube.
|
|||||||
3. Clone this repository and open the project folder in VSCode/VSCodium.
|
3. Clone this repository and open the project folder in VSCode/VSCodium.
|
||||||
4. PlatformIO will automatically handle environment setup and dependencies when you open the project.
|
4. PlatformIO will automatically handle environment setup and dependencies when you open the project.
|
||||||
|
|
||||||
|
### Uploading with PlatformIO
|
||||||
|
|
||||||
|
Once you open this git repository in VSCode and install the PlatformIO extension.
|
||||||
|
You can click on the PlatformIO icon on the left sidebar
|
||||||
|

|
||||||
|
|
||||||
|
In the PlatformIO panel, expand d1_mini_lite → General to reveal the available tasks.
|
||||||
|
Click Build to compile the firmware, and then click Upload to flash it to your SmartCube.
|
||||||
|

|
||||||
|
|
||||||
### Project Structure:
|
### Project Structure:
|
||||||
|
|
||||||
All source code is located in the `src/` directory.
|
All source code is located in the `src/` directory.
|
||||||
|
BIN
hardware/pictures/platformio1.png
Normal file
BIN
hardware/pictures/platformio1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 90 KiB |
BIN
hardware/pictures/platformio2.png
Normal file
BIN
hardware/pictures/platformio2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 124 KiB |
Reference in New Issue
Block a user