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

    main.py been deleted for no reason

    UiFlow 2.0
    1
    2
    953
    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.
    • C
      codeblue
      last edited by codeblue

      Hi Team,

      My code was in main.py , and it does machine.reset() a lot, and after a few resets, the main.py disappears for no reason. And boot_option has been reset to 1, which was 2.

      May I know why?

      M5Dial uiflow2 alpha 29

      1 Reply Last reply Reply Quote 0
      • C
        codeblue
        last edited by

        oh, looks like when I hold the btnA when booting, it will erase main.py and set boot_option to 1, how can I disable this, since I don't want my customers trigger this.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post