
See Section of “platformio.ini” (Project Configuration File). Project environment switcher (if more than one environment is available). PlatformIO IDE Toolbar is located in VSCode Status Bar (left corner)Īnd contains quick access buttons for the popular commands.Įach button contains hint (delay mouse on it). Happy coding with PlatformIO! PlatformIO Toolbar ¶ “platformio.ini” (Project Configuration File) (change upload_port, configure build_flags, Learn more about PlatformIO Toolbar and other commands (Upload, Tutorials and Examples (step-by-step tutorials with debugging and unit testing) “User Guide” section below) or using “Build” button on the PlatformIO Toolbar */ #include "Arduino.h" // Set LED_BUILTIN if it is not defined by Arduino framework // #define LED_BUILTIN 13 void setup () īuild your project with ctrl+alt+b hotkey (see all Key Bindings in ** * Blink * * Turns on an LED on for one second, * then off for one second, repeatedly. Open main.cpp file form src folder and replace its contents with

Setting Up the Project ¶Ĭlick on “PlatformIO Home” button on the bottom PlatformIO ToolbarĬlick on “New Project”, select a board and create new PlatformIO Project Have a general understanding of how to work with projects in the IDE. You a creation process of a simple “Blink” example.

This tutorial introduces you to the basics of PlatformIO IDE workflow and shows Search for the official platformio ide extension Otherwise, pleaseĭownload and install official Microsoft Visual Studio Code. That git -version command works from a system terminal.

If you are going to use Git for installing upstream development platforms, cloningĮxternal projects, installing library dependencies from a repository, please ensure PlatformIO IDE and you will be able to use it within PlatformIO IDE Terminal. You are going to use PlatformIO IDE for VSCode.

Please note that you do not need to install PlatformIO Core (CLI) separately if
