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

    Cannot use Servo2 in BaseX

    Scheduled Pinned Locked Moved Bug Report
    2 Posts 1 Posters 1.7k 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.
    • N Offline
      NSE2_
      last edited by

      Hello.
      I using M5stack Basic-v2.7 + BaseX.
      UIFlow version is v1.13.9
      I connected two servos to BaseX and tried to make them work, but only Servo2 did not work.

      Blocks tested with Servo2 only are shown below. It's not worked too.
      b133f850-b762-49f4-b277-4fbb3f3a382c-image.png

      Tried to run Servo2 on BaseX using ArduinoIDE and it worked fine.

      I think it is a bug in UIFlow, what caused it?

      N 1 Reply Last reply Reply Quote 0
      • N Offline
        NSE2_ @NSE2_
        last edited by

        I conducted additional functionality checks.

        1. Using angle command → Worked.
        2. Controlled the pulse width of Servo2 via I2C → Worked.
          7e18cc70-8fbc-4e4f-a7e7-cecef3e67102-image.png

        The functionality check was using the Servo Kit 360.

        It is my assumption that there may be an issue with the "set servo pulse to" block.
        fb9b2343-77e5-4150-936d-da117c232dc9-image.png
        Specifically, the register addresses for inputting the pulse width (SERVO1_PULSE_ADDR: 0x10, SERVO2_PULSE_ADDR: 0x12) might not be correctly specified.

        I hope someone from the development team will review this and make the necessary corrections.

        1 Reply Last reply Reply Quote 1

        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