🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5Stack Core 2 - SD card and Display at the same time

    Scheduled Pinned Locked Moved ESP - IDF
    1 Posts 1 Posters 446 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X Offline
      Xandrius
      last edited by

      Hello!

      I am new to the community here and have been finally been playing around with my m5stack core2 with rust.

      My project consists in a simple voice recorder which does the following:

      • After pressing a button, start recording from the microphone to the SD card
      • Show a timer of the elapsed time
      • Once the user presses the stop button, stop the recording
      • Then upload the recording to a server

      I got every bit working independently but the problem is getting them to coexist.

      The reason I am posting here now is that I am completely unable to figure out how to get the display to work (e.g. update the elapsed timer and/or react to user button presses) while also having an active microphone recorder which writes a wav file directly to the SD card.

      I found quite a bit of conversations about it being a limitation of how the lines are shared between the display and the sd card. Some even suggested the existence of some workaround to get them to work but I couldn't get any to work with rust/esp-idf.

      Has anyone here managed to get this to work? I would be pretty surprised if 2 such core features (the screen and the SD card) were really not possible to coexist, as that would destroy almost all my project ideas for the m5stack.

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post