ESP32 MicroPython Code Editor - Visual studio code

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024

Комментарии • 36

  • @ePiantkoski
    @ePiantkoski 3 года назад

    this ending command line saved my life

  • @RusShbreak1
    @RusShbreak1 2 года назад +1

    Thx. Very simple and useful. Just what i need it is using ampy.

  • @vantasy5335
    @vantasy5335 4 года назад +1

    Finally a new video!!!!

  • @33samogo
    @33samogo 3 года назад

    You are great! Thank you!

  • @stlo0309
    @stlo0309 3 года назад

    Hi! Please continue this series. It would be absolutely brilliant of you if you could do some wifi connection/ Firebase Database connection demos. Anyways, thanks a whole lot!

  • @RandomTorok
    @RandomTorok Месяц назад

    Can you provide a written tutorial. Cntrl j doesn't do anything I had to open the terminal from the view menu. But I have no idea what was done at the terminal. The screen capture is just a blur.

  • @sikandark7819
    @sikandark7819 3 года назад +5

    Dear Asali, now that code runs from the ESP-32 chip (via serial port); how can I permanently dump (any) code into the ESP32 flash permanently? So that on each boot up this code starts running.

    • @psyk0l0ge
      @psyk0l0ge 2 года назад

      have u found an answer for this question? I would be interested aswell.

  • @andrespoepselvasquez200
    @andrespoepselvasquez200 3 года назад +1

    Can you make a video about running the code automatically when the board is powered? Please it would be very helpful!

    • @turkuas23626
      @turkuas23626 3 года назад +3

      edip boot.py(add import yourmodule.py) and it will start automatically

  • @budderbrotDE
    @budderbrotDE 3 года назад +1

    here, take my sub lol *proceeds to click the subscribe button*

  • @DuneKraftwerk
    @DuneKraftwerk 3 года назад

    We cannot see your terminal command cos you zoom out too much. I figured it out you use adafruit-utils to be able do download through the Com port. You can also debug your python code (not the micropython code) you can even download wirelessly using web reply.

    • @neil1058
      @neil1058 3 года назад

      Hear hear. Mumble mumble.

  • @east_alex
    @east_alex Год назад

    How r u writing code if ur statement "import machine" is marked as missing import?)

  • @LivingWisdom__
    @LivingWisdom__ 2 года назад

    Sir! when i try to install micropython-machine library this error coming "ERROR: File "setup.py" or "setup.cfg" not found for legacy project micropython-machine from" please guide me

  • @syedabidaliabdi1273
    @syedabidaliabdi1273 Год назад

    What command you were used to configure COM port

  • @TheXnyu
    @TheXnyu 2 года назад

    thank you, it works but only for a short while after that i get this error ampy.pyboard.PyboardError: timeout waiting for first EOF reception

    • @stef3162
      @stef3162 4 месяца назад

      found a solution?

    • @TheXnyu
      @TheXnyu 4 месяца назад

      @@stef3162 yea but havent used esp32 in like 10months, so i forgot

  • @redelala7652
    @redelala7652 4 года назад

    Can a program code from arduino IDE will be read by the micropython firmware?

  • @VladVons
    @VladVons 3 года назад +1

    is it possible to debug python code under VSCode for ESP32?

    • @pokpikchan
      @pokpikchan 3 года назад

      following

    • @asali-channel
      @asali-channel  3 года назад

      Not sure, so far I didn't find a way. You may want to use another IDE for this. :/

    • @pokpikchan
      @pokpikchan 3 года назад +1

      So far webrepl is the easiest solution

  • @edulchan
    @edulchan 4 года назад +1

    I get an error with the line *from machine import Pin*

    • @frezzzzy8
      @frezzzzy8 3 года назад

      its not an error, only a warning because your pc python doesnt know about it but your micropython knows it. So its fine

    • @lostboy5775
      @lostboy5775 3 года назад

      @@frezzzzy8 I get an import error do you know how to fix this?

    • @psyk0l0ge
      @psyk0l0ge 2 года назад

      @@lostboy5775 The answer is a little late but I think I know why.
      I get the same error u get when I try to execute the code on my computer, so if u followed the tutorial and get the error when trying to execute the ampy p [...] command at about 4:08 than I think ur problem is that u need to flash the micropython firmware on the esp32 first.

    • @lostboy5775
      @lostboy5775 2 года назад

      @@psyk0l0ge thank you:) I was finally able to solve the problem xD

    • @psyk0l0ge
      @psyk0l0ge 2 года назад

      @@lostboy5775 because of my comment or already before?

  • @empirico8092
    @empirico8092 3 года назад

    hello, where do I download the machine module, to install it in python?

    • @psyk0l0ge
      @psyk0l0ge 2 года назад

      Hello, I think u need to flash the esp32 with the according firmeware. If u get a warning while typing down the code don't worry. What the message says is that your computer doesn't know the libary. But he doesn't have to because with the presented tool (ampy) u execute the code on the esp32 that, if flashed correctly, knows the libary. U can even see in the video that the whole time he is coding that the "machine" keyword is underlined yellow because his pc doesn't know this libary aswell.

  • @Aryan.phantom
    @Aryan.phantom Год назад

    حاسن چه کوفتیه

  • @neil1058
    @neil1058 3 года назад

    If you didnt mumble, we would be able to follow what you were saying. I didnt get a word after "press ctrl-J" and terminal and upload mumble mumble. !!!!!!!!!!!!!!!

    • @asali-channel
      @asali-channel  3 года назад

      Press CTRL+J and select the tab 'terminal'. Now we install ampy with pip
      I will work on my articulation