🤖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?

    General
    3
    4
    756
    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
      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
        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
          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
            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
            • First post
              Last post