Navigation

    M5Stack Community

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

    ralphjy

    @ralphjy

    1
    Reputation
    4
    Posts
    118
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    ralphjy Follow

    Posts made by ralphjy

    • RE: M5StickCPlus doesn't program correctly

      Thanks Felix,

      That helped. I guess from the documentation I thought that just adding the M5StickCPlus library would work. I have verified that some other programs do work (Display, TFT_Clock, PowerWake) with adjustments for the larger display size.

      The AXP192 and I2C_Tester programs work with your changes although I left Wire.begin() at default because I was checking the bus on the Grove port and that now is working.

      I did notice that on the Plus there is a small current draw on the battery (-0.5 mA) when I am running on USB power but it is 0mA on the StickC.

      Ralph

      posted in Arduino
      R
      ralphjy
    • M5StickCPlus doesn't program correctly

      I'm having a real basic issue programming the M5StickCPlus. I am using the M5StickCPlus library but the only program that works correctly so far is the FactoryTest.ino.

      I tried using AXP192.ino and I got the following error:
      M5StickCPlus_AXP192:38:16: error: 'class AXP192' has no member named 'SetLDO3'
      M5.Axp.SetLDO3(false);

      I did #include <M5StickCPlus.h>

      I also tried I2C_Tester.ino and it runs if I don't have any external I2C devices, but if I add an I2C device in the Grove port - the Display no longer works.

      Is there something else that I need to do besides changing the library reference to use M5StickC programs with the Plus?

      posted in Arduino
      R
      ralphjy
    • RE: How to connect 2 ToF Sensors to a M5Stack Fire

      If you are using a Grove ToF from Seeed there are pads to add a two pin header for the Xshutdown input and Interrupt output pins. You can use another GPIO to disable the first ToF while you program the second one to a different address. You do have to reprogram it every time you power up. Probably just easier to get the PaHUB.

      posted in Units
      R
      ralphjy
    • M5Stack Fire does not run after upload

      I just got an M5Stack Fire and when I upload example programs they do not run unless I unplug the USB cable. Is that normal?

      The last message in the upload window is:
      Leaving...
      Hard resetting via RTS pin...

      Is it possible that isn't working? Pressing the power button doesn't fix it either, only unplugging the USB cable.

      posted in Arduino
      R
      ralphjy