Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. a4x4kiwi
    3. Best
    A
    • Continue chat with a4x4kiwi
    • Start new chat with a4x4kiwi
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by a4x4kiwi

    • RE: M5Stack speaker not working

      I resolved the crash problem in a hacky way.

      Within the library, edit the file Speaker.cpp

      Edit line 12 to read :
      ledcSetup(TONE_PIN_CHANNEL, 1000, 13);

      I changed the 0 in the second parameter to a 1000.
      This is a frequency setting. I don't know what it does.

      It prevents the crash, allows a beep to be played, but the beep duration is wrong.

      posted in PROJECTS
      A
      a4x4kiwi