🤖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
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • UIFLOW Device not Connected

    7
    0 Votes
    7 Posts
    12k Views
    K
    @michaelxy said in UIFLOW Device not Connected: Its also not possible to use FlowUI without a Internet-Connection? Yeah, Its not possible to use FlowUI without a Internet-Connection
  • Core2 Uiflow download getting nowhere

    2
    0 Votes
    2 Posts
    972 Views
    ajb2k3A
    @soren_jepsen sounds like a server issue.
  • M5 Card Computer NOT respond

    2
    0 Votes
    2 Posts
    1k Views
    ajb2k3A
    @qatar20-22 you didn’t erase the cardputer before burning firmware
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • TVOC in UIFLow 2.0

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Nesting of multiple PAhubs

    11
    0 Votes
    11 Posts
    6k Views
    U
    hi @felmue Yes, thank you! Manual adding of the Init pahub_0 block has solved this.
  • UiFlow 2.0 Graphics

    11
    0 Votes
    11 Posts
    7k Views
    Y
    Got it figured out! Added an Image and the Lines began to appear. Thanks to everyone who tried to help.
  • How use Bluetooth?Help please!

    2
    0 Votes
    2 Posts
    3k Views
    P
    @Hedio90 Hi, Check out these links(only reference) https://community.appinventor.mit.edu/t/ble-and-esp32-just-a-new-test-example-send-and-receive-in-uart-service/112677 https://www.youtube.com/watch?v=E495XIsM1PI
  • UIFlow and BLE in Central Mode

    2
    0 Votes
    2 Posts
    2k Views
    P
    @whotopia Hi, ESP32 microcontroller supports both BLE and Wi-Fi simultaneously. The ESP32 chip has dedicated hardware for both BLE and Wi-Fi, allowing them to operate independently and concurrently. This means you can run BLE and Wi-Fi tasks concurrently without one interfering with the other. Now M5Fire device with UIFlow only supports BLE Uart profile, not HID profile
  • Set Accel range for built in M5StickC IMU?

    2
    0 Votes
    2 Posts
    2k Views
    P
    @Haavarnv Hi, The next firmware version (1.13.5) will include this feature
  • How can I display a £ symbol on the LCD

    2
    0 Votes
    2 Posts
    2k Views
    W
    The problem here is that none of the default fonts have the full font set, nor are Unicode compliant. However, on UIFlow 1.13, and in my case the Fire board, I have a font "Unicode 24". This one actually supports the pound symbol just fine. [image: 1714585178101-screenshot-2024-05-01-at-19.38.39.png] I suggest best if you are trying to make a UI to import a separate PNG for the GBP symbol and place it where needed. Cheers
  • Sorry, but new firmware breaks my projects... Again...

    17
    1 Votes
    17 Posts
    13k Views
    B
    @felmue , I just spent a bit of time struggling to get any firmware to load onto either Dial that I have, but I finally got the --hotfix firmware loaded, and I can confirm that the GPS now works again! Thank you M5Stack for taking the time to resolve!
  • 8encoder+cardputer

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

    1
    0 Votes
    1 Posts
    165 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • M5Dial GPS UART

    5
    0 Votes
    5 Posts
    5k Views
    felmueF
    Hello @BrianR glad to hear you got it working. And thank you for reporting back. Thanks Felix
  • Where can I find examples of using UART module in UIFlow?

    25
    0 Votes
    25 Posts
    25k Views
    Z
    Thanks Felix! I will study your new example.
  • Uiflow 2 project zone dump

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • uiflow cannot connect to device (m5tough)

    4
    3
    0 Votes
    4 Posts
    3k Views
    ajb2k3A
    @tuanwiki I could have been server down time. It may be worth you looking into using the CM4 stack and creating a local server. There is a new desktop version out.