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

    M5 MicroPython Library documentation

    Scheduled Pinned Locked Moved Micropython
    5 Posts 2 Posters 5.1k Views
    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.
    • stjofrS Offline
      stjofr
      last edited by

      Hello

      Python is cool, so in the interface you can type :

      import M5
      help(M5)
      

      So you have a list of all M5 Library Content, such as :

      help(M5.Display)
      # I find the fillCircle function :)
      M5.Display.fillCircle(20, 20, 10, 0xFF0000)
      # And I draw a red ball :)
      

      But I had to guess the arguments of the fillCircle function :(

      Is there a way to have a complete documentation of the libraries ? Cause we have not the full prototype :

      help(M5.Display.fillCircle)
      # object <bound_method> is of type bound_method
      

      Stef Code
      Project Management Director and Editor
      in Database Software Systems Development
      https://stjo.fr

      1 Reply Last reply Reply Quote 0
      • stjofrS Offline
        stjofr
        last edited by

        So ?

        Stef Code
        Project Management Director and Editor
        in Database Software Systems Development
        https://stjo.fr

        1 Reply Last reply Reply Quote 0
        • ajb2k3A Offline
          ajb2k3
          last edited by

          The most complete reference is in the Micropython website and git hub but I also have partial references here: https://github.com/Ajb2k3/Sample_UIFlow_Code

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          1 Reply Last reply Reply Quote 0
          • stjofrS Offline
            stjofr
            last edited by

            I'm talking about the M5 librairies

            Stef Code
            Project Management Director and Editor
            in Database Software Systems Development
            https://stjo.fr

            1 Reply Last reply Reply Quote 0
            • ajb2k3A Offline
              ajb2k3
              last edited by

              That’s coming but there are differences in the various versions and so collect them is a challange. The UIFlow2 version with the drivers

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              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