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

    How to work vibration on Core2 V1.1 (K010-V11)?

    Core 2
    core2
    2
    3
    1.5k
    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.
    • M
      MAFTY
      last edited by

      Hi,

      I am using Previous Core2 (K010) and New Core2 (K010-V11) .
      Previous Core2 Vibration can work with following code but New Core2 Vibration cannot work.
      Core2 bottom show Previous:AXP-LDO3 -> New:DLA01.
      Is there any example code to work DAL01?

      [code]
      M5.Axp.SetLDOEnable(3, true);
      delay(100);
      M5.Axp.SetLDOEnable(3, false);

      [Previous Core2 bottom]
      0_1705296371924_Previous(K010).jpg

      [New Core2 bottom]
      0_1705296410046_New(K010-V11).jpg

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by

        Hello @MAFTY

        simply call M5.Axp.SetVibration(true/false) - this should work on both M5Core2 versions. See here.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 1
        • M
          MAFTY
          last edited by

          Hi felmue,

          Thank you for your comment.
          I have done with M5.Axp.SetVibration command.

          Thank you!

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