How To Install PlatformIO (ESP32 + Arduino series)
HTML-код
- Опубликовано: 26 авг 2024
- Setting up PlatformIO inside Visual Studio Code for ESP32 development.
PlatformIO is just an extension to Visual Studio Code and includes a library manager, a debugger and more!
🔗Useful links:
- PlatformIO homepage:
platformio.org/
⚡️Other videos in this series:
• ESP32 + Arduino
(Everything you need to know about programming the ESP32 by using the Arduino Framework)
🌍 Social
Twitter: / savjee
Facebook: / savjee
Blog: savjee.be
Become a Simply Explained member: / @simplyexplained Наука
I still don't understand the benefit of using PlatformIO in comparison with only using the Arduino extension in VS Code. Could you explain to me about this in a few sentences please?
PlatformIO is just an extension to Visual Studio Code and includes a library manager, a debugger and more!
Awesome, and letterly simply explained. I hope you can make a video about making a web-ui for esp32 to save settings like wifi credentials and other setting. Thanks a lot.
plug in play to rule the world, thanks so much
I followed instructions in this video . I imported one of my existing Arduino IDE projects for my Adafruit Huzzah 8266 board.. but I don't know how to compile and load it into my board. It doesn't recognize the libraries for one. Do you have another video for that? Thanks!
Thanks, for such informative videos.
Hi! You provide wonderful and clear explanations, kudos to you. Are there more videos on their way for this series?
Yes, this series is far from finished ;) just need to find some time to start working on new videos. Stay tuned!
Very nice job!
grateful
Thanks
Do you have idea how can I program esp32 using platformIO but for zephyr RTOS.I can do this using west tool but not by platformIO ide
Hi, What is the name of the icon-theme pack that you're using in this VSCode?
if i want install library. how istall lib bro?
Hi,
Thanks for informative videos. I am not able to find the extension! any suggestion? I am using visual studio 2019.
It's Visual Studio Code. Not the regular Visual Studio
Cool if you have an Arduino sketch using libraries can this help to convert the code to run on an esp32
Most Arduino libraries are compatible with the ESP32 and should function correctly.
Simple projects will just recompile, more complex ones don't need much change. The biggest change is that Arduino GPIO pin identifiers have a D in them and ESP32 doesn't. Once you choose the right board in the Arduino IDE, the linker chooses the right version of the library (with occasional warnings "duplicate library found" but it always chooses the right one for me.)
I just gave my ESP32 binary clock to its recipient, who is very happy with 3 different displays, Wifi time setting, time zone changing, auto dimming, network selection and password entry. Next is a "spaceship control panel" for a granddaughter, I'm just programming the radar, and maybe that can switch to be a quick driving game in the same display, she can switch between them and the countdown with NASA voice and the takeoff sequencing...
I'm not a professional programmer and I've never got PlatformIO to actually work; or, at least, not to the extent of compiling and running anything more complex than "hello World" and today it wouldn't even do that. It's a bit obstructive, really, great for the people that love it and have time to play with it and tune it, I suppose.
does anyone knows how his folders icons on vscode looks so cool? Mine on linux are kinda boring D:
I believe this was the "vscode-icons" icon set. Search for it in the extension marketplace :)
@@simplyexplained it worked :) thank you very much
Too bad it can't be used w/ Xcode
You forget how can i upload now the project. Thumbs down :(
It's a whole series of videos. Check out the others to learn how to upload to your board ;)
It’s not that simple….
Catering to the "I can make a light blink" crowd is ruining new programmers. Buy a used c++ text book and 100 level mathematics book at least. Whats a structure, class, multidimensional array. How about an alphabetical bubble sort function on a standard array. I learned how to use pinmode today! The intellectual equivalent of that lazy kid who made a light bulb circuit for science fair lol