🤖Have you ever tried Chat.M5Stack.com before asking??😎

Subcategories

  • 5 Topics
    23 Posts
    H
    thank you so much for sharing! this looks cool. I am pretty new to micropython for M5Stack. May I ask which IDE you primarily use to do Micropython programming?
  • M5GFX documentation correct for AtomS3R?

    3
    0 Votes
    3 Posts
    2k Views
    P
    @kuriko Turns out there is an extra comma in there ("int32_t, x"). So a typo on the website (which I copied). But Although it compiles now I still could not figure out the last parameter. The doc says "uint8_t font" but thats something else then "IFont* font". What is 2 in your example?
  • ESP32 Arduino vs M5Stack Arduino

    5
    2
    0 Votes
    5 Posts
    4k Views
    teastainT
    @Kabron It was a friendly 'btw'. There is not a bug or a problem. It works fine for me on 2.3.4. Relax and use the version you prefer.
  • Core S3 SD/TF Card Issues

    5
    0 Votes
    5 Posts
    7k Views
    felmueF
    Hello @LordInchcape not that I know of. That said, have you tried to see what Micropython code UIFlow2 produces? Thanks Felix
  • M5Atom S3 Exception LoadProhibited if dead code is present

    5
    0 Votes
    5 Posts
    2k Views
    N
    Hey @felmue, thanks, this did solve all the issues! Didn't know that I can solely rely on the Unified library without any further changes. Do you know if this is intended, and if so, why does the Board-specific library exist? Thank you so much for your help!
  • Arduino M5Core2 Buttons

    2
    0 Votes
    2 Posts
    2k Views
    S
    @SirMichael I found what I was looking for, a simple sketch to create a button. I did some minor massages, taking from the events_buttons_gestures_rotation.ino and figured it out. #include <M5Core2.h> ButtonColors on_clrs = { RED, WHITE, WHITE }; ButtonColors off_clrs = { BLACK, WHITE, WHITE }; Button myButton(10, 10, 80, 60, false, "Button", off_clrs, on_clrs, TL_DATUM ); void setup() { M5.begin(); M5.Buttons.draw(); } void loop() { M5.update(); if (myButton.wasReleased()) Serial.print("* "); } Sir Michael
  • Need someone to teach arduino have a stickcplus2

    2
    0 Votes
    2 Posts
    2k Views
    F
    https://docs.m5stack.com/en/arduino/arduino_ide https://docs.m5stack.com/en/arduino/m5stickc_plus2/program * @Hardwares: M5StickCPlus2 * @Platform Version: Arduino M5Stack Board Manager v2.0.9 * @Dependent Library: * M5GFX: https://github.com/m5stack/M5GFX * M5Unified: https://github.com/m5stack/M5Unified * M5StickCPlus2: https://github.com/m5stack/M5StickCPlus2 */ #include "M5StickCPlus2.h" *focus
  • TZ magic in ESP/M5Unified

    1
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • M5Dial Arduino USB HID/Mouse example

    3
    0 Votes
    3 Posts
    2k Views
    E
    Hi @scobb, did you solve the problem? I'm currently working on a "macro board" with the M5Dial. I can't seem to find a way that the dial communicates with my computer, but I already saw an OBS controller on YouTube which really bothers me because their is a way but I can't find it. Also the OBS controller is not public so I cannot use the code from it.
  • Restore BALA2 fire firmware for selfbalancing robot

    8
    0 Votes
    8 Posts
    7k Views
    A
    @wzemann I have the same problem, restore the original firmware, are You solved? Thanks Alberto
  • 0 Votes
    4 Posts
    3k Views
    ajb2k3A
    @avmg2502 How is it crashing? What is the error message?
  • CoreS3 & NCIR 2 UNIT not reading sensor correctly

    3
    0 Votes
    3 Posts
    2k Views
    R
    @kuriko i wanted the code to read in Fahrenheit . But also the issue is that it’s the reading the i2c connection but in UIFlow it does.
  • 0 Votes
    9 Posts
    6k Views
    felmueF
    Hello @ScheduleDisplay I am glad to hear it works for you now. Yes, the battery will drain much faster when using ESP32 deep sleep or light sleep compared to a full shutdown. You can find the currents for all three modes here. Thanks Felix
  • M5Dial Timezones data to Google

    3
    0 Votes
    3 Posts
    2k Views
    kurikoK
    @Paulskpt which library are you using for ui? m5gfx or lvgl?
  • M5StickPlus2 with ENVIV unit

    2
    0 Votes
    2 Posts
    1k Views
    robskiR
    @guarthur see below sample from example and sample from uiflow [image: 1732522355498-snip_m5c3.jpg] [image: 1732522368550-snip_m5c2.jpg] check that correct gpio is declared
  • M5Dial display goes black randomly.

    2
    0 Votes
    2 Posts
    2k Views
    PaulskptP
    I see that 50 people saw my post. Nobody out there that had similar experience or knows / saw about a solution?
  • Need to make an alarm sound when temp rises on the M5core2

    3
    0 Votes
    3 Posts
    2k Views
    I
    @robski I am not sure about your question - are you asking about the main code or the sound making code? I have tried a lot of different approaches to get an alarm sound but nothing worked. Last try was with https://github.com/Hagtronics/M5Stack-Core2/tree/main/Sound but with no success. I just need any working piece of code that makes a beep sound and I will add it to my main code.
  • connecting for a first time m5core2 with adruino IDE

    2
    0 Votes
    2 Posts
    1k Views
    kurikoK
    @ioamas No you do not need a SD card. Just install drivers, plug in and press upload button. https://docs.m5stack.com/en/core/core2
  • 0 Votes
    5 Posts
    3k Views
    kurikoK
    @Krmiller Maybe you should look at the source code of the library to see what it does directly when connecting to the first/second client...I think it's still related to the blockage
  • using M5.Speaker.playWav in void loop()

    2
    0 Votes
    2 Posts
    1k Views
    kurikoK
    @alecdvor Maybe this function blocks the code that follows it?
  • 0 Votes
    2 Posts
    1k Views
    robskiR
    @gdbongle said in Writing serial output from sensor to USB stick connected by M5Stick's onboard USB-C port: I'm trying to get data from a sensor connected to my M5Stick and put it in CSV format to be written to a USB stick for later processing (including timestamps) but I'm not sure where to begin, nor have I found anything of relevance on the forums/docs. Is there somewhere I can begin? writing in to SD card would be one to start from I think