We can get something really basic happening here just writing to the terminal. Here’s my notes from my initial – getting my head around it and how it works like Arduino IDE.įirst off, the main ‘sketch’ is under the src > main.cpp file Had the same thing when i started a new ESP32 project – it has to go and get all the bits and bobs to make it go so it’s slow the first time. Now every time i start a new project it’s fast. I thought mine had locked up, but after maybe 7-8 mins, it kicked into life. Once you press Finish, if this is your first project, it can take some time to open and install all the libraries and toolchains etc. Have also tried with just basic NodeMCU 1.0 boards too. I initially tried the WEMOS LOLIN board – ESP32 with an OLED Screen on it. this is what i really liked, heaps of support for modern boards. Install Platform IO extension in to Visual Studio code – follow these instructions here (this is why running as Admin as it failed for me the first time without running as Admin)Īll going well, you should be ready to go and when you open Visual Studio Code, you should see the PlatformIO home screen, and a little Home icon on the bottom left of the bottom status bar. I changed the color scheme to light as I am old school □ – File > Preferences > Color Scheme Run Visual Studio as Admin (right click, run as Admin – needed to do the next bit). Here’s the process I went through to get going on Windows 10: Installationĭownload Visual Studio Code – Its only 43mb – i was thinking Visual Studio, It will take 2 hours to install, but Visual Studio Code is really lightweight. Never going back to Arduino IDE now I am setup □ It took a little bit of messing around but it was worth it. It may be fine these days?Īny way, i though’t i’d put in the time and learn Platform.IO, and I am very glad i did!. I tried Visual Micro (allows Arduino development in Visual Studio) once, but found it a bit buggy and slow. I really don’t like the Arduino IDE so was keen to have a look at it. Was looking around at some code examples and I stumbled on to someones comments around Platform.IO as a replacement to the Arduino IDE.
0 Comments
Leave a Reply. |