Navigation

    M5Stack Community

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

    joefly

    @joefly

    1
    Reputation
    7
    Posts
    482
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    joefly Follow

    Posts made by joefly

    • RE: Randomness ...

      I think this is similar to the above problem. But it consistently happens as I demonstrated with this
      Core2 UIFLOW v1.9.1
      0_1645510136123_7ac687f7-1e51-4842-8d5f-0646dabdf2fe-image.png
      with Python code

      from m5stack import *
      from m5stack_ui import *
      from uiflow import *

      screen = M5Screen()
      screen.clean_screen()
      screen.set_screen_bg_color(0x000000)

      touch_button0 = M5Btn(text='Button', x=22, y=86, w=70, h=30, bg_c=0xFFFFFF, text_c=0x000000, font=FONT_MONT_14, parent=None)
      touch_button1 = M5Btn(text='Button', x=117, y=86, w=70, h=30, bg_c=0xFFFFFF, text_c=0x000000, font=FONT_MONT_14, parent=None)
      touch_button2 = M5Btn(text='Button', x=213, y=86, w=70, h=30, bg_c=0xFFFFFF, text_c=0x000000, font=FONT_MONT_14, parent=None)
      touch_button0.set_hidden(True)
      lcd.circle(130, 100, 90, fillcolor=0xffff66)

      if you run the code in UIflow, it shows different results but it consistently shows the "artifact" of the hidden button.

      how do you get rid of the hidden button artifact?

      posted in UIFlow
      J
      joefly
    • RE: Guidance on running multiple programs

      @robalstona thank you for the guidance as it saves me a lot of trial and error. Appreciate it.

      posted in UIFlow
      J
      joefly
    • RE: M5Paper / Touch only working on USB power

      An Update, I found my own problem. So my issues is not related to this above bug, it was due to no doing wifi connect within the program downloaded. I guess RUN integrates the wificonnect and the download does not.

      Related: I noticed using the download, I am not able to connect to device using UIFLOW IDE, have to put the device is FLOW mode. Is there away to program it to allow for UIFLOW to still connect?

      posted in UIFlow
      J
      joefly
    • RE: Guidance on running multiple programs

      @ajb2k3 Thanks for responding. I am familiar with that function. What I meant is if I have to separate programs. Is there away to call up the other program already residing in the flash. Or another words switch between two separate programs within flash memory, and to call from within one program to the other. If so how do I program it to do so.

      Sorry if I was not clear.

      posted in UIFlow
      J
      joefly
    • Guidance on running multiple programs

      Hi all, I am still trying to figure out a lot about UIFLOW. I have gotten two independent programs to function using UIFLOW. One is to control my speakers and one as a clock and weather. My goal is to have a touch that allows me to switch between the "functions"/"screen"

      I can write it as all one program under UIFLOW, but I would have to rewrite one of the programs by repeating all the code of the second program, since there is no copy and past program.

      So I am thinking to call it out as a sub-routine. But how do I call the PROGRAM B from PROGRAM A? Similarly, using the Download function, the programs gets uploaded to FLASH RAM, can this only function as a startup program of M5Paper or can I call these programs from within another program that is running?

      Looking for some guidance, hopefully my explanation is understandable... Thanks all.

      posted in UIFlow
      J
      joefly
    • RE: M5Paper / Touch only working on USB power

      @BiGbEn Hi.

      As I said, the program works fine on "Run" with Set Screen Show on setup. But only on Download does the program does not function as expected, particularly screen and touch not working/incorrectly. I noticed that the bug was not listed under the bug report list. Any hope of this being resolved?

      posted in UIFlow
      J
      joefly
    • RE: M5Paper / Touch only working on USB power

      I think I am experiencing similar issue. I am able to use UIFLOW for my M5paper by using the "RUN" but when I do the "DOWNLOAD", the program seems to be fine, but I get a blank screen, and no touch, but know the program is functioning as I use the side rotating button which "things" appear on the screen as I expected, but on startup blank screen, and no touch, the only way I know the program is running is the toggling of UP and DOWN wheel.

      Wondering if it is similar issue or something else is going on?

      posted in UIFlow
      J
      joefly