🤖Have you ever tried Chat.M5Stack.com before asking??😎

Subcategories

  • Lessons and Guides for Uiflow

    125 Topics
    434 Posts
    A
    Hi, I'm a new user of M5stack products, having got an M5StickC Plus2 recently. It's a nice device, but the documentation isn't always accurate which makes learning how to use it a slow process. I tried to use the example for drawing a raw buffer to the screen here But it resulted in different garbled output each time and not a green rectangle. It seems that the len parameter is expecting 16-bit entries in the buffer so needs to be halved. Here's the code that works on my device (note the //2 for len parameter): width, height = 40, 30 green565 = 0x07E0 raw_buf = bytearray(width * height * 2) for i in range(width * height): raw_buf[2*i] = (green565 >> 8) & 0xFF raw_buf[2*i+1] = green565 & 0xFF Display.drawRawBuf(raw_buf, 100, 100, width, height, len(raw_buf)//2, swap=False) Hopefully this will help others and eventually get changed in the docs - assuming it's the same for all UIFlow2 supported devices? If anybody knows a fix to make it work properly for lower than 16bit depth screens so I can draw a raw buffer to a 1-bit canvas properly, please let me know!
  • 212 Topics
    790 Posts
    Y
    Hello I faced problem about digi-clock write charcter block. Problem is 3rd and 4th digit can not display with this block. I created below flow. Then Digi-Clock displays "0.1.:" for 1st and 2nd digit and colon. [image: 1778319992199-1aae8860-52c1-4c60-9097-5668ed98e2ee-image.jpeg] Howerver, index of write character block can be set only 0 to 4. Therefore it could not display 3rd and 4th digit. I think this index shoud be set 0 to 8. It doesn't work if index forced set to 5 to 8. (It was same behavior as 0 if index is set to 5.) I think the index for DigiClockUnit.set_char should be 0–8, not 0–4. https://uiflow-micropython.readthedocs.io/en/latest/unit/digi_clock.html Could you please kindly consider to fix this issue? (Or let me know please if any other solution available.) #Write raw data and write string blocks are works correctly. Using device -AtomS3 lite -Digi-clock UIFlow version:2.4.4 FW version:2.2.5 OS:Windows11 Thank you in advance Best Regards Yamada
  • 11 Topics
    33 Posts
    A
    @jeanfabre On web, just choice block type. [image: 1729260517944-86b7a25c93207d9a32e5b33471bb1f0.png] For code, add return description like this: def func(self) -> int: return 0
  • Object has no attribute - Error

    4
    0 Votes
    4 Posts
    6k Views
    felmueF
    Hello @RIDDSprojects you are very welcome. I am glad to read it works for you now. And thank you for reporting back. Best of luck with your projects. Thanks Felix
  • Pb.HUB with two digital read unit.

    1
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • ATOM DTU NB MQTT Example dosn't work

    5
    0 Votes
    5 Posts
    5k Views
    felmueF
    Hello @BennoB I can confirm that the UiFlow example doesn't work for me either. The block to connect to MQTT seems to be broken or not properly adapted for the SIM7020. @m5stack : please fix. Thank you. Thanks Felix
  • Webserver with UIFlow?

    11
    0 Votes
    11 Posts
    19k Views
    S
    What do you think? https://github.com/kotobuki/http-server-block-for-uiflow
  • Newbie UIflow questions.

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How do i disconnect from the wifi?

    2
    0 Votes
    2 Posts
    3k Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    70 Views
    No one has replied
  • Missing info about emoji

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Saving programs from UI Flow Web

    10
    0 Votes
    10 Posts
    11k Views
    W
    I have the exact problem: Chrome 107.0.5304.110 on Fedora 35. All buttons in the UI (label, button, line, etc) are nonfunctional as well as the "load", "save" etc buttons. UIFlow is completely unusable with Chrome. I can reproduce this in Konqueror also. The buttons seem to work in Firefox though.
  • ESPNow module not available. Alternatives?

    3
    0 Votes
    3 Posts
    4k Views
    felmueF
    Hello @slow-moose which UIFlow firmware version is running on your M5Core2? I can use ESPNow blocks from the UIFlow online version 1.10.8 just fine on my M5Core2 running UIFlow firmware 1.10.8. You can use M5Burner from here to update the UIFlow firmware on your M5Core2. Thanks Felix
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    62 Views
    No one has replied
  • UI Flow cannot access local disk in Chrome

    2
    0 Votes
    2 Posts
    3k Views
    ajb2k3A
    This looks like a running issues with google chrome as its happening (or not happening as is the case) with other sites that download files.
  • EspNow is receiving previous messages

    uiflow
    3
    4
    0 Votes
    3 Posts
    7k Views
    S
    I have same problem , after some time EspNow recieve callback block returns duplicate message. Uiflow 1.10.7 , firmware m5 tough 1.10.6
  • How to connect the COM.X NB IoT and use is for mqtt or other requests

    4
    0 Votes
    4 Posts
    4k Views
    felmueF
    Hello @mchott in my experience a data SIM (for smartphones, LTE routers, etc.) is not good enough for NB-IoT. You will need a SIM card specifically for NB-IoT plus the NB-IoT service needs to be offered by the provider in your region. Thanks Felix
  • UIFlow and CAT M MODULE SIM7080G

    14
    1
    0 Votes
    14 Posts
    22k Views
    felmueF
    Hello @teiafra thank you for letting me know. I am glad you found a workable solution. Thanks Felix
  • Firewall & UiFlow

    2
    0 Votes
    2 Posts
    3k Views
    J
    Hello I've opened TCP 1883 and my device successfully connected. Regards
  • Core modules have rectangles/triangles in the UI designer, Core2 does not

    6
    0 Votes
    6 Posts
    8k Views
    ajb2k3A
    @teastain I try to be helpful!
  • [SOLVED] Execute code downloaded from MQTT/saved to EEPROM

    2
    0 Votes
    2 Posts
    4k Views
    H
    I managed to solve this issue with this custom block
  • Save file on cloud (Gdrive, Dropbox)

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Confusing Version control for firmware

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied