Navigation

    M5Stack Community

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

    Rop

    @Rop

    32
    Reputation
    173
    Posts
    4632
    Profile views
    4
    Followers
    0
    Following
    Joined Last Online

    Rop Follow

    Posts made by Rop

    • ESP-IDF and ESP-ADF on M5Core2

      Hi all,

      I've created some components that might be useful for those that like programming M5Core2 using Espressif's Integrated Development Framework (ESP-IDF). It's a bit more complex to wrap your head around than Arduino, but then compiling is blazingly fast and you end up with more powerful tools at your disposal. And with the components I built at least some of the pain out of getting something working on the M5Core2.

      • m5core2_esp-idf_demo is a demo program that uses the lvgl display/touch interface library and also showcases both my i2c_manager thread-safe library as well as the m5core2_axp192 library to set up and control the power management in the M5Core2.

      • m5core2_adf is a component that will let you use the M5Core2 as an audio board for Espressif's Audio Development Framework (ESP-ADF). Anything from playing and recording sound to streaming MP3s and even voice recognition.

      posted in PROJECTS
      Rop
    • RE: Light / Deep sleep example

      Hi Felix!

      Strange... With me that code, using Arduino IDE, just says "Going to light sleep for 50 seconds." and then it never wakes up again. I measure 19.7 mA at the USB input when it does that.

      Have to powercycle and then start uploading code before it goes to sleep again to get out of it...

      posted in Core 2
      Rop
    • RE: Light / Deep sleep example

      Hi @felmue ,

      Question: do you know how many mA the system uses in it's most power-saving sleep state where it is still able to wake up on a timer as well as when the touch screen is pressed? Is there code somewhere to accomplish this?

      posted in Core 2
      Rop
    • RE: Windowing environment

      (Everything works with the stock M5Core2 library, or the current master branch. Just don't have M5.update() in the loop.)

      posted in Core 2
      Rop
    • RE: Windowing environment

      If yes..... :

      Check out https://github.com/M5ez/Core2ez

      recursively nested display windows, widgets, the works...

      Soon input boxes, scrolling subwindows, modal dialogs, etc

      A few of the demos are ported, tons of work to be done, but this is a good first alpha.

      happy playing...

      posted in Core 2
      Rop
    • Windowing environment

      Hey...

      Wouldn't it be cool to have something like Qt for the Core2? A real windowing environment with widgets, etc etc?

      posted in Core 2
      Rop
    • RE: Simple Touch Keyboard

      Tried my hand at a keyboard too... (Can't type on non-qwerty...)

      Found that the horizontal precision is actually nice on this touch sensor, it's the vertical registration where I go wrong the most. So I made a keyboard with only three rows of keys, and I can actually type on it. Trick for me is to briefly but consciously look at a key before hitting it: as soon as I start relying on muscle memory my error rate goes way up. Also find that if correcting mistakes is easy enough and doesn't lead to additional mistakes, it's OK to have some misses. Try the experimental branch on my repo, the Touch / Keyboard example for a taste.

      The help screen (which now just says "HELP"), will eventually explain that space is swipe right, backspace is swipe left and to get upper case, just drag a letter upwards. If you move across the typed text you move the caret unless text is wider than window, then you (smoothly..) drag the text. In that case drag down to bottom key row and then sideways to move caret. You can grab the text anywhere above the keys, even in the help/prompt bar.

      Note that I used sprites both for the text entry field and also (briefly) for the keyboard change so that I prevent flicker. Also, there's now M5.Buttons.pushState() and M5.Buttons.popState() to save and restore buttons, gestures and eventhandlers so that one can switch context (such as into and out of keyboard mode) without setting up one's entire environment again.

      Lots of emerging thoughts on how to structurally build out from here, but also just happily playing around building cool stuff and seeing how I would most like things to work for people to program with ease.

      posted in Core 2
      Rop
    • RE: Big Font

      It's just a web frontend to the adafruit font converter thing. Might have a look once I'm done with a bunch of other Core2-related goodness. Feel free figure out WTF...

      posted in Core 2
      Rop
    • RE: I can't access forum.m5stack.com from my location

      The forum software is funky somehow, sometimes I get timeouts as well here in Berlin. And the javascript hangs on to messages when you've left the page. Some of it is not very intuitive somehow...

      Oh well...

      posted in General
      Rop
    • RE: Big Font

      That font is "Run Length Encoded", which I think is not supported by the display library. Maybe try my font conversion tool to make your own font files.

      posted in Core 2
      Rop