Navigation

    M5Stack Community

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

    Posts made by purpledread

    • Instructions for creating an image to load onto a M5 Core2

      Are there instructions someplace on how to create an image that can be burned into an M5 Core2?

      I'd like to make an image with Micropython, LVGL, etc. so I have more capability than the base image, but I also want to be able to preserve support for Audio and other Core2 specific functionality.

      posted in SOFTWARE
      P
      purpledread
    • RE: M5Stack Core4 Micropython / LGVL Images

      Thanks

      Yes, I want to be able to build a firmware file with MicroPython & LGVL.

      How do you cross compile for the ESP32? How do you then make the firmware image?

      posted in Core 2
      P
      purpledread
    • M5Stack Core4 Micropython / LGVL Images

      Where would I find the details needed to build an image to run on the Core2?

      Thanks

      posted in Core 2
      P
      purpledread
    • RE: Simple Click Sound

      @felmue

      Thanks. Any kind of sound would be great.

      My machine module doesn't have the I2S used in this example.

      /Chris

      posted in Micropython
      P
      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
    • RE: Pure Micro Python without Ui-Flow on my M5Stack core2

      Thanks, the new upload link worked.

      /Chris

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

      @dhed

      I tried to get your compiled firmware, but that ZippyShare site keeps trying to download other things and I can't get it to download your file.

      Thanks,
      /Chris

      posted in Micropython
      P
      purpledread
    • RE: Can't get M5Core 2 to work on Mac

      Burned the Core2_Tools and then the UIFlow_Core2 again (have burned it a few times before). This time it displayed the App with the option for UIFlow and everything is working now.

      I do still get the Upload failed errors sometime, but it is installing the app on the device.

      /Chris

      posted in UIFlow
      P
      purpledread
    • Can't get M5Core 2 to work on Mac

      I was able to get the Burn image to work, and I burned the UIFlow(Core) image into it. I configured it with the Wifi SSID / password, tried to put it in USB mode, but it always seems to revert to App Mode. Also enabled Boot Menu.

      When I run UIFlow, it appears to connect to M5 without an issue and then a little later shows disconnected in the bottom left of the window.

      When I try to Run the program, I get an error saying Upload code failed, maybe your device is offline check it any try again.

      Thanks,
      /Chris

      posted in UIFlow
      P
      purpledread