[M5Paper] UiFlow support



  • Since @Zontex is away maybe @lukasmaximus or @m5stack could give us some update.



  • Well as long as it comes ... ideally 2021 ... im cool ... was just afraid there would be no support at all ... since I dont plan on learning C or using arduino ide ....

    Hopefully this is just the start of bigger screens.... I would love to have a bigger m5 lcd version as well


  • Global Moderator

    @ajb2k3 regarding the API difference, we are actually working now to merge them together into one API.
    @Mati @Medy @ben-myburgh Sorry guys ! for some reason I didn't get a notification over this post, I'll follow up on the progress and keep you guys updated. seems this is the highest priority we currently have.


  • Global Moderator

    Guys, good news - the estimated release of this support is by the Chinese new year holiday which will be in approximately 2 weeks from now :)



  • @Zontex sweet, I will get to see how my guesses have worked out.



  • @zontex said in [M5Paper] UiFlow support:

    Guys, good news - the estimated release of this support is by the Chinese new year holiday which will be in approximately 2 weeks from now :)

    nice to hear ! I am disappointed by the fact that the product appeared in the store and only after more than a month does it receive the advertised functionality.



  • Hello guys

    today in M5Burner I discovered an Alpha version of UIFlow for M5Paper. Already seems to work reasonably well.

    Cheers
    Felix



  • @felmue Hey, are you able to run the code on your device? Not sure what I am doing wrong, I burned UiFlow alpha version, and connected to my device, also it seems like code is being uploaded to m5paper device, and screen refreshes probably restarting, but nothing shows up in the screen.

    Everytime I try to upload the code I get warning ' Lack block "Set screen set show" or "Set screen parital show" '

    Not sure what I am doing wrong, any idea?



  • @doubleness said in [M5Paper] UiFlow support:

    Everytime I try to upload the code I get warning ' Lack block "Set screen set show" or "Set screen parital show" '

    Not sure what I am doing wrong, any idea?

    You need to have one of those blocks in your program to update the screen. They are under UI, then Screen in uiFlow.



  • @doubleness !0_1613035410200_exp1113.png
    You need to have the "Set Screen Show" block as the information is only stored in memory and not drawn to the screen until set screen show or set screen partial show is called.



  • @world101 @ajb2k3

    Thank you guys it works! You saved me :) ... finally I can switch to micropython, programming using arduino IDE was kind of slow and painful



  • Any information on when the support for M5paper is coming to the official VS code extension for micropython? I can set my device to usb mode but it doesn't find it.



  • @doubleness said in [M5Paper] UiFlow support:

    @world101 @ajb2k3

    Thank you guys it works! You saved me :) ... finally I can switch to micropython, programming using arduino IDE was kind of slow and painful

    Like having teeth pulled!
    No worries, glad to help.



  • That's very nice to be able to use UIFlow with M5Paper, thanks. 🥰

    This also open the door to micropython.
    I tried it and it works in UIflow.

    Now, I'm trying to figure out how to add libraries.
    With M5 core, I use either thonny or rshell.
    But I could not connect to M5Paper with those.

    The only tool that worked was Mu editor, but only to see the REPL. Could not access files.

    Is there a trick to upload files on M5Paper?



  • Does anyone have ideas to put MicroPython libraries on the M5Paper?



  • @titimoby said in [M5Paper] UiFlow support:

    That's very nice to be able to use UIFlow with M5Paper, thanks. 🥰

    This also open the door to micropython.
    I tried it and it works in UIflow.

    Now, I'm trying to figure out how to add libraries.
    With M5 core, I use either thonny or rshell.
    But I could not connect to M5Paper with those.

    The only tool that worked was Mu editor, but only to see the REPL. Could not access files.

    Is there a trick to upload files on M5Paper?

    Yes, there is a trick but alas i forget the trick and struggle to upload.
    I'm using thonny and its hit and miss accessing the paper.



  • So no stable solution for now, that’s sad.
    It’s a bit frustrating to have some micropython working but not the full experience.
    At some point, that could be better to switch to hardware that runs CircuitPython, less struggle.



  • OK, I got it.
    To use Thonny or other micropython IDE's with the M5Paper, you need to put the paper into "App Mode" in the menu as UIFlow and USB mode do not allow access to REPL.



  • As this is not my first M5 board, I think I was in App mode. But as the main source of errors is often between the chair and the keyboard, I'll focus my attention on this point 😉



  • @titimoby said in [M5Paper] UiFlow support:

    As this is not my first M5 board, I think I was in App mode. But as the main source of errors is often between the chair and the keyboard, I'll focus my attention on this point 😉

    I'm writing a book on the coreink and m5paper and spent a week trying to work it out!
    now if i could only get the internal sht30 to work