UIFlow 2 bugs?
-
Hello,
I'm very new to UIFlow so this could just be a beginner learning but I'm running into some strange issues with UIFlow.-
I have the Ext-Encoder working but I'm unable to reliably reset the counter to 0. I'm not sure what all the related blocks do but I've tried a bunch of options using reset encoder rotary value and set rotary value to 0. It seems to occasionally choose a number which isn't 0 to reset to. This presents as the value "resetting" to a consistent random number when hitting a limit switch. Reset number has varied between resets - I can sometimes get the reset value to be 0 if I don't move the encoder during the first few seconds of program time but even that isn't consistent. The sensor is excellent outside of this issue. I'd prefer not to create some hacky workaround or rewrite in Arduino but I'm getting close.
-
I couldn't for the life of me get a simple limit switch or button to work. Was messing around with ports, pins, etc and ended up just initializing the pin and using it at the pin level, which then worked without issue. Is there a secret I'm missing or does a simple limit switch not work when using the UIFlow gui as designed? Tried both the limit switch sensor module (U145) and the optical switch (U058) and neither worked.
I'm not sure what info to post to help debug this, I could probably create a quick example that illustrates these issues, let me know if that would help.
I'm using a core S3 and arc browser.
Thanks in advance!
-
-
@amulder First question, Are you connecting the units to the correct ports?
The ports are different colours for a reason.
Second question, have you read the documentation and guides on the devices pages of the M5Stack site?
3rd question - can you share your code so that we can see what you are trying to do in UIFlow2?