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

    M5 MicroPython Library documentation

    Micropython
    2
    5
    2.9k
    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
      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
        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
          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
            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
              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
              • First post
                Last post