Navigation

    M5Stack Community

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

    purpledread

    @purpledread

    0
    Reputation
    14
    Posts
    197
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    purpledread Follow

    Posts made by purpledread

    • Capacitive buttons without the M5Core libraries

      I'm developing on the Core2 with Micropython LVGL.

      Is there someway to use the 3 capacitive buttons?

      posted in Core 2
      P
      purpledread
    • RE: Pure Micro Python without Ui-Flow on my M5Stack core2

      @purpledread

      Never mind. As simple Python code.

      Thanks!

      posted in Micropython
      P
      purpledread
    • RE: Any updates on the mpu6886?

      @staberas

      This code was very helpful. Thanks!

      I tried adding temperature as well:

      tmp = i2c.readfrom_mem(MPU6886_ADDRESS, MPU6886_TEMP_OUT_H, 2)
      temp = (tmp[0]<<8|tmp[1])
      temp = (float(temp) / 326.8) + 25.0;
      

      I'm getting temps of 40.5C (105F). Am I doing something wrong or is this temperature the CPU temp?

      Thanks,
      /Chris

      posted in M5Stick V
      P
      purpledread
    • RE: Pure Micro Python without Ui-Flow on my M5Stack core2

      @dhed

      Sorry for the newbe questions. You've been a big help.

      When you say you load files to ram from the boot.py file, how do you access that ram from the main.py file?

      posted in Micropython
      P
      purpledread
    • RE: Simple Click Sound

      @macsbug

      I really appreciate the response, but I'm running with an image that just has lvgl and micropython and not the M5 classes.

      Looking for how to play a sound with the standard esp32 hardware support on the device.

      /Chris

      posted in Micropython
      P
      purpledread
    • RE: Simple Click Sound

      @purpledread

      Should have mentioned I'm running on a M5Core2.

      /Chris

      posted in Micropython
      P
      purpledread
    • Simple Click Sound

      I'm using the LVGL with MicroPython for a project and I'd like to be able to make a click noice when the user interacts with the application's buttons.

      Is there any easy way to do that?

      posted in Micropython
      P
      purpledread
    • RE: Pure Micro Python without Ui-Flow on my M5Stack core2

      @dhed

      I'm trying to read from the SD card on startup and then use the display.

      If I access the sd card, the program runs with no errors, but nothing displays.

      I tried initializing the display using the example you gave, but I get an error that there isn't enough DMA-able memory to allocate the display buffer.

      /Chris

      posted in Micropython
      P
      purpledread
    • RE: Pure Micro Python without Ui-Flow on my M5Stack core2

      @dhed

      Actually, ampy is working fairly well.

      Thanks,
      /Chris

      posted in Micropython
      P
      purpledread
    • RE: Pure Micro Python without Ui-Flow on my M5Stack core2

      @dhed

      That's all working now, including using ampy to copy files and run code.

      I'm use to using Mu Editor with my other ESP32 boards.

      Is there some way to run Python code and get back error messages if there is an issue in the code?

      Thanks!
      /Chris

      posted in Micropython
      P
      purpledread