Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. BTMp
    B
    • Continue chat with BTMp
    • Start new chat with BTMp
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    BTMp

    @BTMp

    -1
    Reputation
    2
    Posts
    1431
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    BTMp Follow

    Posts made by BTMp

    • RE: M5ez, a complete interface builder system for the M5Stack as an Arduino library. Extremely easy to use.

      So....that file wasn't actually there on my system.
      A lesson in keeping up to date for me there.
      All compiles now.
      Really nice piece of work, especially like the OTA update functionality.
      Thanks for the help.

      posted in PROJECTS
      B
      BTMp
    • RE: M5ez, a complete interface builder system for the M5Stack as an Arduino library. Extremely easy to use.

      Hi @Rop

      I wonder if you could help me.

      I am really looking forward to using M5ez but unfortunately I'm having problems compiling the examples and I'm getting persistent errors relating to any instance of println

      This is a snippet of the error messages


      Arduino: 1.8.5 (Mac OS X), Board: "M5Stack-Core-ESP32, QIO, 80MHz, Minimal SPIFFS (Large APPS with OTA), 921600, Debug"

      In file included from /Users//Documents/Arduino/libraries/M5ez/examples/M5ez-demo/M5ez-demo.ino:2:0:
      /Users/
      /Documents/Arduino/libraries/M5ez/src/M5ez.h:42:27: error: 'TFT_TRANSPARENT' was not declared in this scope
      #define PRINT_DEFAULT_COL TFT_TRANSPARENT
      ^
      /Users//Documents/Arduino/libraries/M5ez/src/M5ez.h:117:104: note: in expansion of macro 'PRINT_DEFAULT_COL'
      void print(String text, int16_t x = -1, int16_t y = -1, const GFXfont
      font = NULL, uint16_t color = PRINT_DEFAULT_COL);
      ^
      /Users/
      /Documents/Arduino/libraries/M5ez/src/M5ez.h:42:27: error: 'TFT_TRANSPARENT' was not declared in this scope
      #define PRINT_DEFAULT_COL TFT_TRANSPARENT
      ^
      /Users/
      /Documents/Arduino/libraries/M5ez/src/M5ez.h:118:106: note: in expansion of macro 'PRINT_DEFAULT_COL'
      void println(String text, int16_t x = -1, int16_t y = -1, const GFXfont
      font = NULL, uint16_t color = PRINT_DEFAULT_COL);
      ^
      /Users/
      /Documents/Arduino/libraries/M5ez/examples/M5ez-demo/M5ez-demo.ino: In function 'void submenu_more()':
      M5ez-demo:51: error: call to 'void M5ez::println(String, int16_t, int16_t, const GFXfont
      , uint16_t)' uses the default argument for parameter 5, which is not yet defined
      ez.println("");
      ^
      M5ez-demo:52: error: call to 'void M5ez::println(String, int16_t, int16_t, const GFXfont
      , uint16_t)' uses the default argument for parameter 5, which is not yet defined
      ez.println("ezMenu menu("Main menu");");
      ^
      M5ez-demo:53: error: call to 'void M5ez::println(String, int16_t, int16_t, const GFXfont*, uint16_t)' uses the default argument for parameter 5, which is not yet defined
      ez.println("menu.addItem("Option 1");");
      ^
      M5ez-demo:54: error: call to 'void M5ez::println(String, int16_t, int16_t, const GFXfont*, uint16_t)' uses the default argument for parameter 5, which is not yet defined
      ez.println("menu.addItem("Option 2");");
      ^
      M5ez-demo:55: error: call to 'void M5ez::println(String, int16_t, int16_t, const GFXfont*, uint16_t)' uses the default argument for parameter 5, which is not yet defined
      ez.println("menu.addItem("Option 3");");
      ^
      M5ez-demo:56: error: call to 'void M5ez::println(String, int16_t, int16_t, const GFXfont*, uint16_t)' uses the default argument for parameter 5, which is not yet defined
      ez.println("while ( menu.run() ) {");
      ^
      M5ez-demo:57: error: call to 'void M5ez::println(String, int16_t, int16_t, const GFXfont*, uint16_t)' uses the default argument for parameter 5, which is not yet defined
      ez.println(" if (menu.pick == 1) {");
      ^

      <<<<AND SO ON WITH THE OTHER PRINTLN CALLS >>>>>>


      Looks like I'm missing something from my environment but any ideas?

      Many thanks

      posted in PROJECTS
      B
      BTMp