
Now, click on the file main.cpp and you should see a few lines of code already written for you. This file is used for configuring all the various parameters for communicating with the board,įor example the baud rate. The main file that contains all of your code is the main.cpp file.įile of importance is the last file platformio.ini. You need to install the Platform IO extension for VS Code.Īs it can be seen, there are a number of files in project UNO’s workspace. So now, that you are done downloading and install VS Code.

There are different version available for So step 1 is to download VS Code, and then install it. It’s a free and open source software and I personally use it for every program I code.

So first of all you need to download Visual Studio Code from it official website. In order to use VSCode for programming your micro controller boards, you need to install the Platform IO Extension for VSCode. Downloading and setting up Visual Studio Code Step 1:

PlatformIO with VS Code is a perfect combinationįor programming your micro controller boards, be it Arduino UNO, Arduino Mega, NodeMCU, or the ESPs. I can assure you that, you would never ever want to use Arduino IDE ever again. It allows you to write your code and upload it to your micro controllers.īut if you have ever used or seen someone using VSCode or the Visual Studio Code from Microsoft. The Arduino IDE is a wonderful tool to program your Arduino Boards, the ESPs as well as a few ARM micro-controller boards.
