Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. francomorenoq
    F
    • Continue chat with francomorenoq
    • Start new chat with francomorenoq
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    francomorenoq

    @francomorenoq

    0
    Reputation
    1
    Posts
    184
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    francomorenoq Follow

    Posts made by francomorenoq

    • When the device is turning OFF; condition.

      Please I need a method to apply a condition when the device is turning OFF. I want to send a message via MQTT with the status {"dev":"OFF"} before is turned off.
      Someting like:

      if (M5.TurningOFF()) {
      do_it_someting();
      }

      Thanks.

      posted in PRODUCTS
      F
      francomorenoq