Navigation

    M5Stack Community

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

    Posts made by flypeek

    • RE: Dual Button Unit Button Size?

      Use cad plane to measure dimensions is 12 mm
      0_1692616015182_Snap3.jpg

      posted in Units
      F
      flypeek
    • RE: my M5StickC Plus can't read micro SD

      Check if the wiring is correct
      0_1683822127791_Snap3.jpg

      new link
      https://lang-ship.com/reference/unofficial/M5StickC/Device/SPI/SD/
      0_1683822250292_SPI_SD.jpg

      posted in Global Communities
      F
      flypeek
    • RE: What's the best way to teach kids?

      https://protopedia.net/prototype/2395
      https://github.com/610t/M5bit-less

      posted in M5 Stick/StickC
      F
      flypeek
    • RE: M5-TOUGH / unable to change display brightness

      no M5-Core to try
      https://github.com/m5stack/M5Tough/blob/master/src/M5Display.h

      class M5Display : public TFT_eSPI {
          public:
            static M5Display* instance;
            M5Display();
            void begin();
            void sleep();
            void wakeup();
            void setBrightness(uint8_t brightness);
            void clearDisplay(uint32_t color=ILI9341_BLACK) { fillScreen(color); }
            void clear(uint32_t color=ILI9341_BLACK) { fillScreen(color); }
            void display() {}
      

      so you can try this

      #include <M5Display.h>
      
      M5.Lcd.setBrightness(value);    //uint8_t  Brightness (0: Off - 255:Full)
      posted in PRODUCTS
      F
      flypeek
    • RE: M5 Stick C Manual found - where is English Version?

      https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/UIFlow-StickC-Book-English.pdf

      posted in M5 Stick/StickC
      F
      flypeek
    • RE: How to make a smaller .bin?

      1.M5Stack.Lcd use Brightness (0: Off - 255:Full)
      https://github.com/m5stack/m5-docs/blob/master/docs/en/api/lcd.md#setbrightness

      https://github.com/Bodmer/TFT_eSPI#tips
      or 2.edit User_Setup.h or rename

      // ########################################################
      // Section 2. Define the pins that are used to interface with the display here
      //#######################################################
      
      // If a backlight control signal is available then define the TFT_BL pin in Section 2
      // below. The backlight will be turned ON when tft.begin() is called, but the library
      // needs to know if the LEDs are ON with the pin HIGH or LOW. If the LEDs are to be
      // driven with a PWM signal or turned OFF/ON then this must be handled by the user
      // sketch. e.g. with digitalWrite(TFT_BL, LOW);
      
      #define TFT_BL   32            // LED back-light control pin
      #define TFT_BACKLIGHT_ON HIGH  // Level to turn ON back-light (HIGH or LOW)
      posted in Forum Rules (!!!!READ THIS FIRST BEFORE POSTING!!!!)
      F
      flypeek
    • RE: How to make a smaller .bin?

      https://github.com/Bodmer/TFT_eSPI
      compiles to 293KB

      #define SerialMon Serial
      #include <TFT_eSPI.h>
      TFT_eSPI Tft = TFT_eSPI();
      void debug(String msg) {
          SerialMon.print(msg);
          Tft.print(msg);
      }
      
      void debugln(String msg) {
          SerialMon.println(msg);
          Tft.println(msg);
      }
      
      void setup() {
          SerialMon.begin(115200);
          Tft.init();
          Tft.fillScreen(TFT_BLACK);
          Tft.setTextSize(3);
          Tft.setTextColor(TFT_WHITE, TFT_BLACK);
          debugln(F("If found, call"));
          debugln(F("xxxxxxxx"));
          debugln(F("xxxxxxxxxxxxx"));
          debugln(F(""));
          debugln(F("or return to"));
          debugln(F("xxxxxxxxxx"));
          debugln(F("xxxxxxxx"));
          debugln(F("xxxxxxxxxxxx"));
          debugln(F("xxxxxxxxxxxx"));
          }
      
      void loop() {
      }
      
      posted in Forum Rules (!!!!READ THIS FIRST BEFORE POSTING!!!!)
      F
      flypeek
    • RE: Get TFT_eSPI working on Core2 | LVGL low performance

      https://forum.m5stack.com/topic/3613/how-to-run-lvgl-on-m5stack/14#

      posted in PROJECTS
      F
      flypeek
    • RE: Exact dimensions of the M5Core2 Module

      https://grabcad.com/library/m5stack_m5stackcore2-1

      posted in Core 2
      F
      flypeek
    • RE: Error compiling examples

      you can see examples
      #include <M5AtomS3.h> not #include "M5Stack.h"

      posted in Arduino
      F
      flypeek
    • RE: How to install m5tough library in Arduino IDE?

      @flypeek said in How to install m5tough library in Arduino IDE?:

      0_1678876754899_Snap1.jpg

      0_1678876781362_Snap2.jpg

      https://docs.m5stack.com/en/quick_start/core2/arduino

      posted in SOFTWARE
      F
      flypeek
    • RE: How to install m5tough library in Arduino IDE?

      0_1678876754899_Snap1.jpg

      0_1678876781362_Snap2.jpg

      https://docs.m5stack.com/en/quick_start/m5core/arduino

      posted in SOFTWARE
      F
      flypeek
    • RE: video stream (computer desktop) to m5stickc plus

      https://github.com/Bodmer/TFT_eSPI#tips
      edit User_Setup.h or rename

      Section 1. Call up the right driver file and any options for it

      // Only define one driver, the other ones must be commented out
      //#define ILI9341_DRIVER       // Generic driver for common displays
      
      #define ST7789_2_DRIVER    // Minimal configuration option, define additional parameters below for this display
      
      // #define M5STACK
      
      // For ST7789, ST7735, ILI9163 and GC9A01 ONLY, define the pixel width and height in portrait orientation
      // #define TFT_WIDTH  80
       #define TFT_WIDTH  135    //128->135
      // #define TFT_WIDTH  172 // ST7789 172 x 320
      // #define TFT_WIDTH  240 // ST7789 240 x 240 and 240 x 320
      // #define TFT_HEIGHT 160
      // #define TFT_HEIGHT 128
       #define TFT_HEIGHT 240 // ST7789 240 x 240
      // #define TFT_HEIGHT 320 // ST7789 240 x 320
      // #define TFT_HEIGHT 240 // GC9A01 240 x 240
      

      Section 2. Define the pins that are used to interface with the display here

      // For NodeMCU - use pin numbers in the form PIN_Dx where Dx is the NodeMCU pin designation
      //#define TFT_CS   PIN_D8  // add //
      //#define TFT_DC   PIN_D3  // add //
      //#define TFT_RST  PIN_D4  //add //
      
      // For ESP32 Dev board (only tested with GC9A01 display)
      // The hardware SPI can be mapped to any pins
      
      #define TFT_MOSI 15 // In some display driver board, it might be written as "SDA" and so on.
      #define TFT_SCLK 13
      #define TFT_CS   5  // Chip select control pin
      #define TFT_DC   23  // Data Command control pin
      #define TFT_RST  18 // Reset pin (could connect to Arduino RESET pin)
      //#define TFT_BL   22  // LED back-light
      

      0_1677551536053_PinMap.jpg

      Section 4. Other options

      // #define SPI_FREQUENCY  27000000
      #define SPI_FREQUENCY  40000000     //from Setup135_ST7789.h
      
      posted in M5 Stick/StickC
      F
      flypeek
    • RE: looking for an example of graphical representation of sensor values

      https://shop.m5stack.com/pages/download
      choose M5Burner download

      The picture is a factory test example(Core2 factory test firmware)

      posted in PROJECTS
      F
      flypeek
    • RE: M5Stack, Micropython, Fonts

      https://github.com/m5stack/M5Stack_MicroPython#lcdcompilefontfile_name-debug

      https://community.m5stack.com/topic/388/cahnge-font-size-in-python

      posted in Micropython
      F
      flypeek
    • RE: Where do I find game Super Mario for M5 FACES ?

      https://forum.m5stack.com/topic/203/lesson-13-faces-nes-games

      posted in Cores
      F
      flypeek
    • RE: Is there a tool to convert an image to be displayed with drawBuff?

      similar tools
      https://github.com/novaspirit/img2bytearray

      full introduction
      https://atceiling.blogspot.com/2021/04/raspberry-pi-pico12ssd1306-lcd_26.html

      posted in Arduino
      F
      flypeek
    • RE: Any way to run Rust code on edukit device?

      Run Rust code on M5Stack
      https://elchika.com/article/bb1df791-4160-4a6c-a557-aead5ba21d47/

      posted in Core2 for AWS
      F
      flypeek
    • touching M5Stack M5Stamp Pico

      https://lang-ship.com/blog/work/m5stack-m5stamp-1/
      alt text

      posted in PROJECTS
      F
      flypeek
    • RE: (SOLVED) Change I2C pin in M5GFX Library (to use With ATOM LITE)

      https://community.m5stack.com/topic/1842/m5atom-and-grove-sensors/3

      posted in Arduino
      F
      flypeek