Navigation

    M5Stack Community

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

    Best posts made by jhfoo

    • sleep commands

      I read from C++ code there's an AXP command to go into light sleep. How does one do a similar call in Python?

      Ref: https://github.com/m5stack/M5StickC/blob/master/examples/Advanced/AXP192/sleep/sleep.ino

      posted in Micropython
      J
      jhfoo
    • RE: M5stick C - Rasp Pi integration with MQTT

      @nirvana07 I would suggest you:

      1. First learn about writing normal Python code to learn, test, and validate your MQTT server setup.
      2. Use uiflow blockly to draw out your MQTT code, and flip to the Python tab to see the auto generated code. Make changes as needed.

      No free lunch here. As newbie you should be prepared to invest time into this.

      posted in General
      J
      jhfoo
    • Wake up on pick-up

      Is there any way to program StickC to wake up when it moved eg. picked up? Maybe some behavior from the IMU waking up deep sleep? I'm open for anything.

      posted in M5 Stick/StickC
      J
      jhfoo
    • RE: Wake up on pick-up

      @davesee I heard about setting a flag on movement detected, written at the C level. Hoping to avoid that level of coding. Will forward your link to my (volunteer) team who do C coding if they can confirm your design.

      posted in M5 Stick/StickC
      J
      jhfoo