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)
|
||||
4. [Demo Code Explanation](#demo-code-explanation)
|
||||
* [Getting Started](#getting-started)
|
||||
* [Uploading with PlatformIO](#uploading-with-platformio)
|
||||
* [Project Structure](#project-structure)
|
||||
* [What the Code Does](#what-the-code-does)
|
||||
* [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.
|
||||
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:
|
||||
|
||||
All source code is located in the `src/` directory.
|
||||
|
Reference in New Issue
Block a user