Navigation

    M5Stack Community

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

    Topics created by Rop

    • ESP-IDF and ESP-ADF on M5Core2
      PROJECTS • • Rop

      2
      2
      Votes
      2
      Posts
      5145
      Views

      @Rop Great job with the i2c_manager component. I will test it ASAP since I had many troubles with Espressif's i2c driver.
    • Windowing environment
      Core 2 • • Rop

      4
      1
      Votes
      4
      Posts
      6272
      Views

      Cool!
    • M5Sound 😎
      Core 2 • • Rop

      10
      1
      Votes
      10
      Posts
      12648
      Views

      Rop, all the included examples run fine. I found that the problem is that Button::_hidden is uninitialized. I will open an issue. Now I can easily add hit and miss sounds to my button testing app. Will update soon.
    • M5Button & M5Touch: progress update
      Core 2 • • Rop

      4
      3
      Votes
      4
      Posts
      5322
      Views

      Hello @m5stack I can imagine you guys are busy with all the new exiting products (M5CoreInk, M5Paper etc.), but I was wondering about when Rop's excellent improvements for M5Core2 will be approved? BTW: I am using Rop's code for a while now and with great success. Thank you very much in advance. Felix
    • M5Core2 library fork that supports multi-touch and provides Arduino-style virtual buttons [update: and gestures and events] [update2: MERGED !]
      Core 2 • • Rop

      55
      2
      Votes
      55
      Posts
      170158
      Views

      B

      For anybody else looking at fixing the issue with multiple simultaneous button presses it seems it can't be done. Having dived into the M5Core2 source the events generated for two button presses, e.g. A & C, are press for A and move for A. This looked like a deeper bug (since the second should have been identified as C), so going further in I found that an else branch wasn't refreshing the currently identified touched button on second press (C) in the method "doEvents" in touch.cpp (it doesn't help the code isn't documented, isn't single responsibility and has an arrow antipattern too). Fixing that bug, so the correct button is refreshed, showed that two events together did not produce presses for A & C but instead (I assume - I'm fed up at this point) the hardware averages the presses' coordinates and declares it's button B(!) that is pressed. If you have old Core 1 code you're porting that uses two simultaneous button presses I'd suggest changing the code to double taps of a single button instead which is the workaround I'm about to use - to remain consistent this behaviour is both on Core 1 and Core 2 More formally, I should have read the file header in touch.h earlier: the M5Stack Core2 touch display is only multi-touch in one dimension. What that means is that it can detect two separate touches only if they occur on different vertical positions. This has to do with the way the touch screen is wired, it's not something that can be changed in software. So you will only ever see two points if they do not occur side-by-side. Touches that do happen side-by-side blend into one touch that is detected somewhere between the actual touches.
    • Core2
      Cores • • Rop

      6
      0
      Votes
      6
      Posts
      12868
      Views

      @sparkinman Check that: You have added the M5Core2 library and are doing #include <M5Core2.h> and not using M5Stack.h. Until they merge it my Pull Request and release a new version, my version is more like it will be, better documented and has graphical buttons. (Simply clone it or get the zip file and unpack so that M5Core2 is a subdir of your Arduino libraries dir.) In Arduino Preferences, you have added https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json as an "Additional Board Manager URL" Make sure you then select M5Stack-core2 from the "Tools / Board / M5Stack-Arduino" menu. If this is all good, then you should be able to run one of the examples from the "File / Examples / M5Core2" menu.
    • M5ez
      General • • Rop

      3
      0
      Votes
      3
      Posts
      4053
      Views

      OK, solver it. Somehow a setting has been changed.
    • M5ez 2.1.0 released
      M5EZ • • Rop

      1
      1
      Votes
      1
      Posts
      4897
      Views

      No one has replied

    • truetype2gfx - Converting fonts from TrueType to Adafruit GFX
      SOFTWARE • • Rop

      4
      1
      Votes
      4
      Posts
      14809
      Views

      @heybin 在 truetype2gfx - Converting fonts from TrueType to Adafruit GFX 中说: thanks for your share, could i add it in m5stack Awesome Yes please... :)
    • Backticks... (Request to admins)
      Lessons and Guides • • Rop

      6
      1
      Votes
      6
      Posts
      10726
      Views

      Thank you.
    • [Solved]Arduino IDE: CPU usage way too high on MacOS Mojave? Get 1.8.7!
      Arduino • • Rop

      2
      0
      Votes
      2
      Posts
      5107
      Views

      Thanks for the heads up, we'll make sure to mention it in our updated github.io docs coming soon
    • HOWTO: M5Stack Fire - use the full 16MB with the Arduino IDE (UPDATED)
      Lessons and Guides • • Rop

      15
      2
      Votes
      15
      Posts
      32571
      Views

      5

      It seems that esp32 only provide 4MB flash as read only rom.As you change the app0 partition size to 6.5MB,the esp linker under arduino can only produce the max size 4MB of your code.In the file \esp32\tools\sdk\ld\esp32_out.ld,the following lines declare the max size of the readonly flash rom. /* Flash mapped constant data */ drom0_0_seg (R) : org = 0x3F400018, len = 0x400000-0x18
    • M5Stack Fire questions...
      PRODUCTS • • Rop

      2
      0
      Votes
      2
      Posts
      4052
      Views

      P

      I want to add Upload a complete M5Stack Fire schematic of the current revision. There is none in the docs.
    • M5ez 2.0: testers wanted...
      M5EZ • • Rop

      26
      0
      Votes
      26
      Posts
      90836
      Views

      R

      Having fun with m5ez Now i am a copy and paste my own code .... coder.... Copied my slider and made a mechanism that selects and sets each slider. Next and previous makes you jump between each slider, left and right sets the value , ok publishes the value and up gets you back to the main menu. I still have issues to get my values in to m5ez object like the header, text works fine but int is still a issue. Tried to convert them to chars, but failed.... So much to learn at once.
    • Losing time?
      Lessons and Guides • • Rop

      3
      0
      Votes
      3
      Posts
      7486
      Views

      @calin Yes, I am beginning to see more of that logic. But I so like to make Arduino libraries... :/ I am hoping to be able to interface with the underlying esp timers and RTC and still offer that in the arduino world. Reading lots...
    • Scrolling / m5.lcd.readRect()
      PROJECTS • • Rop

      2
      0
      Votes
      2
      Posts
      7632
      Views

      K

      Hi I'm having the same problem with the M5Stack/Advanced/Display/TFT_Screen_Capture example just get white screen captures (0xFFFF for any pixel ) Keith
    • Ideas, helping M5Stack document stuff...
      PRODUCTS • • Rop

      29
      1
      Votes
      29
      Posts
      93388
      Views

      @watson 在 Ideas, helping M5Stack document stuff... 中说: Please read this doc. I updated it just now. It is better to see once than read 100 times bla-bla-bla
    • ArduCAM on ESP32
      PROJECTS • • Rop

      2
      0
      Votes
      2
      Posts
      10033
      Views

      This camera indeed works with the M5Stack, and is indeed very easy to hook up. This post is to document what I did. Simply buy the cam at the link supplied and hook it up with the pin-socket-wires that come with the camera as follows: Then clone https://github.com/ArduCAM/ArduCAM_ESP32S_UNO and copy the ArduCAM and ESP32WebServer libraries to your Arduino/libraries directory, add the client or AP data to the example script from the github (ArduCAM_ESP32S_UNO/libraries/ArduCAM/examples/ESP32/ArduCAM_ESP32_Capture/ArduCAM_ESP32_Capture.ino). Also make sure you uncomment #define OV2640_CAM and #define OV2640_MINI_2MP in the memorysaver.h file in the Arducam library dir, run the script and a webcam webserver works. (Surf to <ip>/stream or <ip>/capture).
    • Understanding what's in a binary / reducing memory footprint
      PROJECTS • • Rop

      6
      0
      Votes
      6
      Posts
      11176
      Views

      @Calin Thanks! I tried PlatformIO and didn't like it, maybe I should have tried longer. But if you're making something to be this easy to use, the Arduino IDE is where the users are, so I would always create for it as the primary way for people to use it. I know the JPGs take up space in flash (but 1 byte per byte, not more than they need, right?) I'd also like to know what the space in the compiled image is used for, can you also list that? There were some weird jumps in how big the image got while I was developing.
    • Python bindings for M5ez ?
      PROJECTS • • Rop

      1
      0
      Votes
      1
      Posts
      2971
      Views

      No one has replied