MicroPython using VSCode PyMakr on ESP32/ESP8266
Ғылым және технология
This post will show how to develop MicroPython projects using Visual Studio Code or VSCode using the PyMakr extension using an ESP32/ESP8266.
WriteUp:
www.donskytech...
If you like my post or videos then please consider subscribing to my channels and sharing them with your friends:
Website: www.donskytech...
Facebook: / donskytech
KZread: / donskytech
Twitter: / donskytech
If you are generous and you think I have helped you then please consider buying me a coffee. 🙂
Buy Me a Coffee:
buymeacoffee.c...
#vscode
#micropython
#pymakr
Пікірлер: 48
You are a hero. Struggled for so long trying to get pymakr to work. didn't know i needed node js. Salamat!
Maestro, that's what I needed. You are the First in Town! Thx!
Thank you - been trying to figure out how to get intelisense details into my IDE for micropython and this worked!! This should make things WAY easier.
Excellent!!! very good explanation
@DonskyTech
Жыл бұрын
@ricardoiribarren4765 Thanks for the kind words. Please consider subscribing to my channel for future content if you have not done so. Thanks again!
nice but how about downloading libraries for any project? i want to program my oled display with the ssd1306 library and i dont know how to do it with vs code
Well explained; worked perfectly; subscribed; thanks! This channel is a hidden gem.
@DonskyTech
Жыл бұрын
Awesome, thank you!
Great explanation, this worked a treat. Thank you.
@DonskyTech
8 ай бұрын
Hey thanks! Happy exploring!
Thank you so much - best guide. You made my evening ) have a like =)
@DonskyTech
7 ай бұрын
Hey thanks!
@BlooderDen
7 ай бұрын
@@DonskyTech, by the way what for is nodejs needed tell please. Thanks! 😊
I cannot to upload to a device and it says path argument must be type of string, not at project section but the section devices below. can you help me?
@DonskyTech
Жыл бұрын
Ohh..sorry for the delayed reply. I was out on vacation. I have not encountered this. When do you see this problem?
Thanks How to add all libs to development setup? For example U import machine but visual studio code marked it as missing source in ur video
@DonskyTech
Жыл бұрын
Hey, I could not find it also unless you generate visual studio micropython stub. Thonny has the same problem also I think. Auto-complete works on the REPL prompt. I could be wrong though.
you saved my life
@DonskyTech
9 ай бұрын
Wow, that's nice to hear! Thanks!
I have an issue when starting the programm (@7:44). I receive the error messge >>> eback (most recent call last): File "main.py", line 6, in empty line)... So, the cause is not the main.py, I assume. Furthermore, if I execute all python commands step by step it is working... Using sys.platform >>> import sys >>> sys.platform 'esp8266' weiterhin: >>> esp.check_fw() size: 633032 md5: 9dab27bf17e16019bed0cb8bac5823b7 True Any ideas?
@AnKraDe
27 күн бұрын
Found the issue... It seem that sleep is expecting a float value, If I use e.g. sleep(1.2) it is working
Hey, I am not able to run any command because I have modified the code without stopping the script😢 how can I fix this? Please
@DonskyTech
6 ай бұрын
Hey reconnect your device.
When i create terminal affiche connexion en cours...
Thanks
@DonskyTech
Жыл бұрын
Hey, sure no problem.
Great job! Thanks.
@DonskyTech
Жыл бұрын
Thanks for watching! Hope you could support me by subscribing to my channel if you have not done so.
@jarogniewmilewski3012
Жыл бұрын
@@DonskyTech I did it ;) Have you tried PyMakr to program the ESP-01?
@DonskyTech
Жыл бұрын
@@jarogniewmilewski3012 Thank you! I have used other models of ESP8266 but not ESP-01. I will add it to the list of videos and blogs that I am going to create about MicroPython.
@jarogniewmilewski3012
Жыл бұрын
@@DonskyTech With ESP8266 and ESP32 PyMakr 2.22 works great. There are communication problems with ESP-01 (1M). I do not know why. Thonny with ESP-01 works perfectly.
@DonskyTech
Жыл бұрын
@@jarogniewmilewski3012 That is interesting to know. Maybe there is a bug in the PyMakr plugin or something
thank you. It worked perfectly. Like and sub
@DonskyTech
10 ай бұрын
Glad I have helped you. Thanks for the like and sub!
Why is it that after my ESP32 is connected, this device in the device list has been rotating and cannot upload the program
@DonskyTech
11 ай бұрын
Hey, try to remove your device and connect it again.
Hero
@DonskyTech
11 ай бұрын
Thanks. Kindly subscribe to my channel for future contents.
Are you able to upload several files? Or do you need to keep rewriting the first program you uploaded to the ESP.
@DonskyTech
Жыл бұрын
Yes, tried syncing all my files and they seem to be uploaded.
i need help
@DonskyTech
Жыл бұрын
Hey, help where?
@cash-if
Жыл бұрын
@@DonskyTech brother when i hard reset led doesn't ON
@DonskyTech
Жыл бұрын
@@cash-if maybe your board does not have the internal LED wired to GPIO2. Try out a new GPIO pin.
@cash-if
Жыл бұрын
Its done Actually the issue was MicroPYthon was not flashed in ESP32
@DonskyTech
Жыл бұрын
@@cash-if ohhh, that was the first step. Glad you figured it out brother. Please consider subscribing to my channel if you have not done so. I will be posting more content soon.