🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Visual Studio Core

    Arduino
    3
    3
    8.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PierreD
      last edited by

      Hello,

      Can we use "Visual Studio Core" instead of the Arduino IDE?

      Thank you in advance,

      Pierre

      G 1 Reply Last reply Reply Quote 0
      • C
        crami25
        last edited by

        @PierreD

        You can run the VisualStudio Code platformIO. It supports the M5Stack ESP32.
        I have copied the M5_Stack_WiFi_Scanner demo arduino ino file into the platform io editor.
        I downloaded the code to my M5Stack (black) and it worked.

        Please play attention: In contrast to the arduino environement the VisualStudio Code PlatformIO is a one pass compiler, so you must place all subroutines (eg void Show(), Search()) at the beginning of your program (loop, setup ...) before they are called.

        You can watch a PlatformIO tutorial for Arduino, ESP8266, and ESP32 made by Andreas Spiess on YouTube :
        https://www.youtube.com/watch?v=0poh_2rBq7E

        Good luck crami25

        1 Reply Last reply Reply Quote 0
        • G
          GregFordyce @PierreD
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • First post
            Last post