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

    Which is more current, M5Unified of M5Core2?

    Scheduled Pinned Locked Moved General
    4 Posts 3 Posters 2.5k 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.
    • W Offline
      wsanders
      last edited by

      The main class M5Core2 in the file M5Core2.h Arduino IDE library version 0.1.9, contains the following attribute:

      class M5Core2 {
         public:
          M5Core2();
          [[deprecated(
              "It is recommended to use M5Unified Lib, which will be discontinued "
              "soon.")]] void
      

      That comment makes no sense in English translation. Of course one would not want to recommend a library that will be discontinued.

      Should we all be using M5Unified now?

      Maybe if M5Core2 is deprecated it should be removed from the Arduino IDE library database?

      teastainT 1 Reply Last reply Reply Quote 0
      • teastainT Offline
        teastain @wsanders
        last edited by

        @wsanders Ah, no!
        Many of my projects use this library.

        Cheers, Terry!

        100% M5Stack addict with several drawers full of product!

        W 1 Reply Last reply Reply Quote 0
        • W Offline
          wsanders @teastain
          last edited by

          @teastain I posted an issue in the library repo, perhaps the ambiguous comment will be clarified. M5Core2 was updated last Jan 29, latest update to M5Unified was 3 days ago.

          1 Reply Last reply Reply Quote 0
          • marksmithsM Offline
            marksmiths
            last edited by

            M5Unified is the more current library compared to M5Core2. The M5Core2 library has been deprecated, and users are encouraged to transition to M5Unified for ongoing support and updates. This transition is part of M5Stack's strategy to unify their libraries under M5Unified, which offers enhanced features and compatibility across various M5Stack devices.

            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