🤖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!
  • 211 Topics
    789 Posts
    robskiR
    @GiovanniCaenazzo disconnect M5Dial press and hold boot button at the back ofM5Dial - in the middle of Stamp Controller - it is very gentle switch connect M5Dial to USB M5Burner should detect com port in boot mode
  • 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
  • UIFlow on SD Updater

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • M5StickC, UIFlow, Play Tone or Speaker.beep - how to add silence

    6
    0 Votes
    6 Posts
    12k Views
    ajb2k3A
    @happy-hippo Music is not properly implemented in UIFlow and the walkaround for it is a bit complicated. but in essence I had to create variable for beats and DPM and then tie them all together. Unfortunately I seam to have misplaced the timing demo.
  • run I2C OLED off Grove port A in UIFlow (or micropython) from M5StickC

    2
    0 Votes
    2 Posts
    5k Views
    ajb2k3A
    @happy-hippo I have the port pin listing here https://github.com/Ajb2k3/UIFlowHandbook/blob/master/UIHB1404192.pdf but you will need to check out the official micropython forum for the ssd1306
  • no flash possible after fw 1.4.1.sg on M5GO

    5
    0 Votes
    5 Posts
    10k Views
    T
    Try to reflash with esptool.py, it also has erase option
  • Env Hat Temperature

    4
    0 Votes
    4 Posts
    6k Views
    M
    @ajb2k3 said in Env Hat Temperature: @mfny Could be many things including heat from the stick c. How are you coding it? I am using the provided built in example in UI flow..
  • M5Img transparency

    3
    0 Votes
    3 Posts
    5k Views
    lukasmaximusL
    Thanks for the suggestion Petr, I will pass this suggestion on to the dev team
  • ENV hat support UI-FLOW for M5StickC

    7
    0 Votes
    7 Posts
    16k Views
    I
    My env hat just arrived. Did some testing and guess what? Same problem. "Env hat maybe not connect" Env hat is working on a new stick that came with a band, does not work with another one from a previous batch. In general my observation is as follows, with band far better quality, then without it... And I cannot accept that, that's not serious enough for my purposes, name using the sticks in teaching. I can see that the additional board on that stick is soldered askew. Hilariously askew... I wonder which pin is broken, some, all? Where is the code that determines that "maybe not connect"? So yeah, there are major quality problems. When it rains with these sticks, it pours. I mean defects. Don't look for the problem in the users. We are not that dumb. Still have to check each and every one of my sticks for a bunch of problems. That's time consuming, aggravated additionally by half baked tools... So disappointing, that I keep postponing that painful task, I am not a masochist. Wanted to get impressed, but based on what I got, did not happen...
  • tablet vs pc

    2
    0 Votes
    2 Posts
    5k Views
    ajb2k3A
    @ariane98 please see you other post.
  • French Translation

    2
    0 Votes
    2 Posts
    3k Views
    ajb2k3A
    @julienrat program translation is done in house by M5Stack. Documentation is done by a mix of in and outside.
  • MP3 play with core and UIFlow

    3
    0 Votes
    3 Posts
    8k Views
    ajb2k3A
    @yellowelise not at present but you can using micropython. @lukasmaximus89 I think made a guide for it on hackster.io.
  • UiFlow upgrade

    8
    0 Votes
    8 Posts
    13k Views
    K
    A complete new download and installation of the UiFlow Desktop has solved the issue.
  • Unable to run UIFlow or M5Burner on Raspberry Pi 4

    7
    0 Votes
    7 Posts
    15k Views
    S
    @jydog Glad that you got it running. @lukasmaximus Regarding your comments about the Raspberry Pi - regarding the rate that the new model 4 Raspberry Pi's are selling, any platform like M5Stack that ignores Raspbian is taking chances of being irrelevant to a large new user base! How come you are all so Mac/Win-centric? The local Apple specialist here in my district in Berlin last year morphed into a 1 Euro shop, and now does more business! My Raspberry Pi reseller here in Berlin tells me that within less than an hour of a new shipment of Pi 4's coming in, they're all gone. When M5Stack claims to be open source, where's your source code so that folks can build for ARM systems? The M5Stack software seems to me to be 64-bit, although there's no warning on the tin about this. As I understand, the Raspi is not quite into the 64-bit system Linux club, but it's heading in that direction. Yes, I can use the Arduino IDE, but then, what's the point of using M5Stack rather than my existing ESP32 development board from NodeMCU which costs only 8.50 Euros, while a M5Stack Fire just cost me over 64 Euros here in Berlin from M5Stack's German partner Conrad? I'm sorry, but I don't see any sense in your arguments - the esp toolchain is for me confusing and overcomplicated. I can use Arduino IDE on a NodeMCU board without needing M5Stack.
  • Non M5stack units

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • UIFlow and usb connection

    2
    0 Votes
    2 Posts
    4k Views
    OyczEO
    @powersoft first grab latest m5burner and flash to latest uiflow or beta. Then power off stick Hold home And power on Now stick should wake up in boot menu. Inside there is a option and inside you can change it to pure usb mode. If you will have some problems i can digg out my stick to validate this steps.
  • Lack of MQTT-lastWilling in UIflow

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

    6
    0 Votes
    6 Posts
    11k Views
    K
    To be honest: I like programmaning with Blockly. But on the end I have to make some changes in the code with Phyton and that makes it complicated, because I cannot directly save the changes. Examples: The network connection to Wifi in a progran written with Blockly is so slow thet I prefer to use the network library in Python. The battery level is not available in Blockly. It is in the machine lib in Python The text "\r\n" in Blockly is wrong translated to Python. In all these cases I have to make changes in the previous created code and I'm not able to save them in a convenient way.
  • 1 Votes
    4 Posts
    12k Views
    lukasmaximusL
    Hi @Gaviota glad I could be of help. The program looks great Unfortunately I don't think there is a way to post files on the forum. Other than copying and pasting the micropython output The only way is to host the file somewhere and paste the link. I would suggest the best way would be if you have a github account then make a repository with the file there and share it with us here. This would also allow for us to add it to our links of resources. Thank you for your requests, I will make sure to hand them on to the dev team. It is true that the updates on the offline version are lagging behind the online version but we will try to improve this. Blockly allows for a rectractable comment from the blocks so this shouldn't be hard to implement We used to have blocks for handling the SD card in our old platform M5GO so I don't see this as being too difficult to add either. All the best, Keep us updated on the progress of your project.
  • Use Pa.hub with Uiflow

    2
    0 Votes
    2 Posts
    4k Views
    ajb2k3A
    I do have demo micropython code for that found here PaHub Code Demo It was built using UIFlows blocks but alas I didn't save the file :( BTW you have to initialise the i2c port before accessing it. I don't think the Stick C can power it which I think is the reason that it is disabled in UIFLow.
  • FACES and UIFlow?

    6
    0 Votes
    6 Posts
    10k Views
    sysdl132S
    @gaviota yes.
  • M5Stick C UI Flow WIFI Connection Problem.

    8
    1
    0 Votes
    8 Posts
    17k Views
    T
    Its common bug, neither Core nor Stick would connect to AP with space in its name. e.g. will not connect to "My Wifi" network, but will work with "MyWifi". %20 trick also didnt work for me, had to rename mine aswell