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

    Use Project on different device / how to switch hardware

    UiFlow 2.0
    2
    2
    45
    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.
    • R
      Rusticus42
      last edited by

      Hi!

      I have a Beginner-Question:

      How can I change the underlying hardware of a project?
      I have created a prject for a AtomS3R and now I want to use it on a Dinmeter.
      I did not find a way to "switch" the hardware or do a "save as" on different hardware.

      Thanks!

      B 1 Reply Last reply Reply Quote 0
      • B
        BR123456 @Rusticus42
        last edited by

        @Rusticus42 Hi,
        You didn't find because there is no formal way to do that.
        This is in order to protect your hardware from conflicts.
        If you switch hardware and stay with the previous code, pin allocations, I2C addresses etc. will probably be wrong and will have conflicts that might cause damage.
        What you can do if you feel responsible enough is to export your project to a file on your hard disk, open it in a text editor and change the "type" parameter to your new hardware type (keep the name in lower caps).
        b35f2ded-e0e7-46b2-823c-21ce8b9a34c9-image.png

        In this example it is tab5. If you change for example to Core2, replace the "tab5" by "core2", then save the file and import it from the Uiflow2 ide.
        Again, you should go thoroughly over your code before running the code and fix all hardware related commands.
        Do this at your own risk!

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