UIFlow 1.8.6


  • M5Stack

    v1.8.6

    new features

    • 1: Add UNIT LCD support.
    • 2: Add UNIT ID support.


  • I would be happy if someone could explain to me how this would work with REMOTE+ and chart data either I do not get it or it does not work


  • M5Stack

    we will update the tutorial as soon as possible



  • I2C bus error when trying to use the Colour LCD unit on core 2



  • LCD color vs Atom lite
    Traceback (most recent call last):
    File "flow/m5cloud.py", line 82, in _exec_fun
    File "<string>", line 20, in <module>
    File "units/_lcd.py", line 128, in fill
    AttributeError: 'Lcd' object has no attribute 'frame_buf'

    Traceback (most recent call last):
    File "flow/m5cloud.py", line 82, in _exec_fun
    File "<string>", line 20, in <module>
    File "units/_lcd.py", line 128, in fill
    AttributeError: 'Lcd' object has no attribute 'frame_buf'

    Traceback (most recent call last):
    File "flow/m5cloud.py", line 82, in _exec_fun
    File "<string>", line 22, in <module>
    File "units/_lcd.py", line 169, in show_on
    File "i2c_bus.py", line 101, in write_mem_list
    MemoryError: memory allocation failed, allocating 64800 bytes



  • @m5stack said in UIFlow 1.8.6:

    we will update the tutorial as soon as possible

    in my case all is working fine on core2 LCD module is connected over PortA



  • @mati said in UIFlow 1.8.6:

    @m5stack said in UIFlow 1.8.6:

    we will update the tutorial as soon as possible

    in my case all is working fine on core2 LCD module is connected over PortA

    Have you updated the firmware on the colour lcd?
    I get the framebuf error if I don't add the init screen block



  • @ajb2k3 said in UIFlow 1.8.6:

    @mati said in UIFlow 1.8.6:

    @m5stack said in UIFlow 1.8.6:

    we will update the tutorial as soon as possible

    in my case all is working fine on core2 LCD module is connected over PortA

    Have you updated the firmware on the colour lcd?
    I get the framebuf error if I don't add the init screen block

    Nope, just out of the box and go. First try with Atom lite fail but on core2 and init in the setup all looks legit.



  • LCD firmware update and device tested with M5StickC, ATOM, Stamp... From Arduino it works fine but from UIFlow no way.
    Error from M5StickC plus is "LCD object has no attribute frame_buf



  • @mati said in UIFlow 1.8.6:

    Nope, just out of the box and go. First try with Atom lite fail but on core2 and init in the setup all looks legit.

    Could you post your working UIFlow?

    I have the same issue, gives me the error "'Lcd' object has no attribute 'frame_buf'".



  • Hello @Phuturist

    using UIFlow 1.9.0 works for me (well kind of). With M5Core2 I can use the whole LCD unit screen (eg. 135 x 240). However with M5Atom (or M5StickCPlus) I can only use part of it, else there is an out of memory error. Here is what works for me with M5Atom.

    0_1642182495468_M5AtomLCDUnitUIFlow_220114.png
    Thanks
    Felix



  • @felmue said in UIFlow 1.8.6:

    Hello @Phuturist

    using UIFlow 1.9.0 works for me (well kind of). With M5Core2 I can use the whole LCD unit screen (eg. 135 x 240). However with M5Atom (or M5StickCPlus) I can only use part of it, else there is an out of memory error. Here is what works for me with M5Atom.

    0_1642182495468_M5AtomLCDUnitUIFlow_220114.png
    Thanks
    Felix

    Thanx Felix, it's indeed now working for a small partion of the screen when connected to my M5StickC Plus. Trying to set it to it's actual size indeed results in a memory allocation error. I had seen that one before as well but didnt think it was related to the screen size. If anyone knows how to fix the memory allocation error, please let me know.