Different Pages on M5Stack Core



  • Hi,

    I just started programming the M5Stack with UIFlow.
    I want to display a lot of different sensor data on different screens on the M5Stack Core.

    So I have to place a lot of text labels on the M5Stack screen, which I will hide and activate, if I switch with the button to the next screen.

    Now I have the problem, that all the text labels, e.g. from page 1 and page 2, are placed on different positions on the screen, so that they are overlapped. It is not possible now arrange the text labels which are behind other text labels.
    Would be possible by setting X and Y from the label, but I lost the overview at around 130 text labels on the screen.

    Is it somehow possible to have more than only one screen on the UI window, to get a better overview of all the different text labels?

    Or is there another solution to arrange different pages on the M5Stack Core?

    I am using latest UIFlow version.

    Thanks for your help!



  • Yes.
    You set the variable in your main loop but then you create function for each page with your display settings.
    The back in the main loop you write a code that using buttons A and C switches between the separate functions, clearing the screen each time you change function.



  • Thanks ajb2k3, that´s what I am doing.

    But anyway, I have to arrange the labels on the M5Stack Screen somehow before.
    With over 130 labels it is not possible to pick it when they are overlapping.

    Perhaps I am misunderstanding something completely, but I didn´t find any setting or solution until now.



  • @rotor Ahh, I see what you mean, sorry, just woke up.
    I don't know any other way to do it in inflow.