🤖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?
  • How to increase SPIFFS size with arduino

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • (SOLVED)SD Uploader can't flash new code

    2
    0 Votes
    2 Posts
    5k Views
    C
    I solved like that: with M5Burner flash a different firmware in the stack like uiflow and than flash again lovian firmware.. tnks
  • Power off from side button

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • setLowPowerShutdownTime() usage

    arduino esp32
    1
    0 Votes
    1 Posts
    6k Views
    No one has replied
  • Detect when power is removed from M5Stack Gray

    2
    0 Votes
    2 Posts
    6k Views
    m5stackM
    if the battery already fully. the M5.Power.isCharging() function will return the ture.
  • "M5" functions/commands documentation?

    8
    1 Votes
    8 Posts
    19k Views
    m5stackM
    @gregfordyce here is the arduino api docs link: https://docs.m5stack.com/#/en/arduino/arduino_api
  • I cannot upload anything on my M5Stack Fire

    6
    0 Votes
    6 Posts
    14k Views
    raz0rsedgeR
    Getting same error on all my projects now, I think someting is broken.
  • Reprogramming the Faces keyboard

    3
    0 Votes
    3 Posts
    6k Views
    world101W
    M5Stack sells the programmer: https://m5stack.com/collections/m5-accessory/products/isp-usbasp-programmer
  • This topic is deleted!

    6
    0 Votes
    6 Posts
    112 Views
  • Visual Studio Core

    3
    0 Votes
    3 Posts
    10k Views
    C
    @PierreD You can run the VisualStudio Code platformIO. It supports the M5Stack ESP32. I have copied the M5_Stack_WiFi_Scanner demo arduino ino file into the platform io editor. I downloaded the code to my M5Stack (black) and it worked. Please play attention: In contrast to the arduino environement the VisualStudio Code PlatformIO is a one pass compiler, so you must place all subroutines (eg void Show(), Search()) at the beginning of your program (loop, setup ...) before they are called. You can watch a PlatformIO tutorial for Arduino, ESP8266, and ESP32 made by Andreas Spiess on YouTube : https://www.youtube.com/watch?v=0poh_2rBq7E Good luck crami25
  • Determine the width of a character

    3
    0 Votes
    3 Posts
    7k Views
    m5stackM
    @hansim in the this lib file , you can find the str width return function: https://github.com/m5stack/M5Stack/blob/master/src/utility/In_eSPI.h int16_t textWidth(const char *string, uint8_t font), textWidth(const char *string), textWidth(const String& string, uint8_t font), textWidth(const String& string), fontHeight(int16_t font), fontHeight(void);
  • unable to flash after loading arduino tetris

    4
    0 Votes
    4 Posts
    6k Views
    m5stackM
    @daavery You can try more times on win7, maybe just baud rate issue or USB COM / cable issue.
  • 0 Votes
    4 Posts
    8k Views
    m5stackM
    Hi, you should selcet M5StickC board in ther board manager. or seting the baud rate to 115200
  • Width of a string in pixels

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Overwrite with "printf" command

    3
    0 Votes
    3 Posts
    7k Views
    M
    Yes, correct I used the " M5.Lcd.setTextColor (YELLOW, BLACK);" in the setup command , and effectively overwriting by deleting the above. Thank you. Greetings.
  • Failed to read register address

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Peer-to-peer communication with Husarnet on M5StickC

    10
    0 Votes
    10 Posts
    16k Views
    L
    @world101 Thanks! I'll have a look. MQTT seems to be working well for now, super easy to setup as well.
  • I2C_Keyboard_Interrupt sample is not working.

    5
    0 Votes
    5 Posts
    11k Views
    liemphL
    @ecasti said in I2C_Keyboard_Interrupt sample is not working.: According to several forum, Wire library require interrupt itself while any further interrupt is disabled during ISR call , so this example cannot work . Only way to make working should be moving outside wire.read() function inside a proper function registered on Wire.onReceive call ( that i'm pretty sure get called from a proper interrupt ). will make some test Hopefully, you will find the solution. Honestly, I have no time to dig further. Good luck.
  • How to change LCD print text on runtime without creating another line

    2
    0 Votes
    2 Posts
    8k Views
    ChrisWRC
    @andreaf said in How to change LCD print text on runtime without creating another line: M5.Lcd.print("some text") M5.Lcd.setCursor(xposition , yposition); M5.Lcd.print("some text") or ; M5.Lcd.drawString("some text"), xposition , yposition , txtsize);
  • M5Stick IR

    5
    0 Votes
    5 Posts
    19k Views
    M
    Below are examples of M5StickC and IR. https://qiita.com/poruruba/items/34220a4dd6aaf48392aa https://lang-ship.com/blog/?p=886 https://lab.sasapea.mydns.jp/2019/06/28/m5stickc-ir/ https://note.com/ssktkr/n/ne9f289509bea