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

    Visual Studio Core

    Scheduled Pinned Locked Moved Arduino
    3 Posts 3 Posters 10.3k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          GregFordyce @PierreD
          last edited by

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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post