@lbuque for some reason, the values in my unit were way off when I received it and it did not work. Resetting the values got the unit to work. Not sure what corrupted the values.
Posts made by Rango
-
RE: MiniJoyC support in UIFlow2
-
RE: I2C support on UIFLOW 2.0
@toothlessboots Here is an example program where I use I2C commands to talk to the MiniJoyC hat
https://uiflow2.m5stack.com/?pkey=4b2548481e1644aa8a0ccc88ca8f7859
-
RE: MiniJoyC with UIFlow 2.1.4 and MstickC Plus 2 not returning x or y values
Turns out the calibration values stored on the MiniJoyC were all out of whack.
I created programs to show and set the calibration values usin raw i2c commands
Show: https://uiflow2.m5stack.com/?pkey=4b2548481e1644aa8a0ccc88ca8f7859
Set: https://uiflow2.m5stack.com/?pkey=165277eeb4364ab9be0d843ede823559
-
RE: MiniJoyC support in UIFlow2
I have written a program to set the calibration values for others having the same issue where the MiniJoyC calibration seems to be off.
https://uiflow2.m5stack.com/?pkey=165277eeb4364ab9be0d843ede823559
-
RE: MiniJoyC support in UIFlow2
@lbuque Would you mind running this code and let me know what the calibration values are for your MiniJoyC?
https://uiflow2.m5stack.com/?pkey=4b2548481e1644aa8a0ccc88ca8f7859
I want to set mine to working values.
It would be much appreciated.
-
RE: MiniJoyC support in UIFlow2
I figured it out, the calibration values were all off.
I reset them to 0x0000 min, 0x1000 max, 0x0800 center and everything is working!What a PITA.
@lbuque , Thanks for your reply. It made me dig deaper to find out what the issue was.
-
RE: MiniJoyC support in UIFlow2
@lbuque This test code does not work for me.
X always returns 0 and Y always returns -1
The values never change.Does this mean I have a defective MiniJoyC?
Even if everything works in UIFlow 1?What version of UIFlow2 are you using?
-
RE: MiniJoyC support in UIFlow2
I found if you scan the bus before doing any other read or write, things start to work with direct I2C calls, somewhat.
I can only get RAW values, reading from memory address 0x10 or 0x20 always return zeros.
Also, setting Calibration values doesn't seem to have an effect on the RAW values
Here is the code I have working to read RAW values and FW version as well as set RGB LED colors
It would still be nice if the actual library was working as expected
-
RE: MiniJoyC support in UIFlow2
@lbuque
This UIFlow1 code works
This UIFlow2 code does not work. X and Y are 0 and Firmware changes with button push
I get timeouts when trying to read I2C directly
Any help would be appreciated
-
RE: MiniJoyC support in UIFlow2
@lbuque get X and Y do not return values. Button works ok. Get fw version does not work either. I'll post my code later. But there aren't many options in the API to try. Even example code does not work.
-
MiniJoyC support in UIFlow2
Any updates on when the MiniJoyC for MStickC Plus2 will he supprted in UIFlow2?
Or at least provide an example of how to use I2C direct calls to get X and Y values?
UIFlow1 works but I can not get it to work in V2
Does anyone feom M5Stack monitor these forums?
-
RE: REQUEST FAILED CREATE NEW PROJECT
@kochikame it may uave been a coincidence since I'm still having intermittent issues. It's most likely a network problem on the server side
-
RE: REQUEST FAILED CREATE NEW PROJECT
Just suggesting others with the same problem try clearing browser cache since that seemed to work for me.
Also, it would be nice to be able to use a previous version of the web IDE when needed. They allow you to flash previous versions of the FW on the device but we are locked in the IDE to only current version.
It seems like the touch screen functions on my M5dial changed behavior with 2.1.5. specifically the touch count. Seems to stay at 1 for much longer than before causing me to add more logic to prevent double triggers.
I would love to be able to drop back to 2.1.4 to test.
-
RE: REQUEST FAILED CREATE NEW PROJECT
I cleared all cookies and cache from my browser and everything is working now.
-
RE: REQUEST FAILED CREATE NEW PROJECT
2.1.5 update seems to have broken a few things.
I can not load or save projects to the cloud and touch function for M5Dial does not work the same.Is there a way to revert back to 2.1.4?
-
RE: UiFlow 2.0 discuss(how-to, bug, feature request or sometings)
I'm using a MiniJoyC with M5stuckC Plus2 and UIFlow 2.1.4.
I've read through examples and documentation but I can not get x or y values. They only display 0.Same thing happens in Arduino IDE.
I do get values when using UI flow 1, so I know the minijoy is working.
Any known issues with the UIf2 libraries?
Thanks in advance.
-
MiniJoyC with UIFlow 2.1.4 and MstickC Plus 2 not returning x or y values
I'm using a MiniJoyC with M5stuckC Plus2 and UIFlow 2.1.4.
I've read through examples and documentation but I can not get x or y values. They only display 0.Same thing happens in Arduino IDE.
I do get values when using UI flow 1, so I know the minijoy is working.
Any known issues with the UIf2 libraries?
Thanks in advance.