🤖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

    Bug Report
    1
    2
    291
    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
      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
        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
        • First post
          Last post