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

    Unit 8Servos glitching with mixed pin modes

    Units
    1
    1
    20
    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.
    • P
      pink0d
      last edited by

      Hi!
      I'm using Unit 8Servos to control a servo and several RGB leds.
      While servo control works OK, when I set some pins to RGB mode, the servo starts glitching. It is also related with how often I call setLEDColor method: more calls cause more glitching on the servo channel.
      This issue seems to be not related to power problems: a high power battery with a capacitor are attached directly to the unit.
      I'm not familiar with STM32 coding, but it seems that the internal firmware of 8Servos unit has some issues, possibly the timer used to generate the servo pulses is reset on every I2C write.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post