Hi there,
I am closing this topic. Actually the cause for these excessive variations was the 5V USB adapter I was using.
Hi there,
I am closing this topic. Actually the cause for these excessive variations was the 5V USB adapter I was using.
Thanks a lot ! It can be completed and it avoids to start from scratch
@mtylerjr Just tested the M5 demo example with my CO2 unit.. I don't have the L version, actually was not aware of its existence.
After a first run the sketch reported errors, the demo program uses Ubuntu font that does not exist on Core 2 UIFlow 1.12.3... I replaced all the labels fonts by default and yes the sensor works on Core 2
Thanks a lot ! Did not come to me as it is implemented directly in u pythonj but I remember having read about this workaround when I used to program in other languages.
Took me a little bit of time to set this up in UI Flow but it works perfectly of course.
Thanks for the sharing. Fully agree with you on the lack of documentation of UI flow. Actually I sent a post on this matter but did not get a single answer !
@robski : some time ago I made some trials with Thonny but I was not really successful.. I will git it a new try.. at least for followng the remaining space, deleting the temp.py and so on
@csierra67 Actually after having read my post.. I was able to put two applications on the device. The trick is NOT to burn after each change of application and to interrupt the automatic start of last downloaded application by hitting the application button..
The "new" operating process opens new options.. so thanks for putting me on track
@ajb2k3 Thanks but that's is exactly what I am doing.. I must be missing something !
Right now on my Core, there are only two applications with the extension py that I can run in application mode. They came with the unit.. one is temp.py and the other one is RGB-Color-Pick.py
No trace of my own applications..
Hello everybody,
Up to now I am using my Core in Internet mode, burning the device before every new download.
I would like to save some of the programs on the device and use them in Application mode.. Is that possible with UI Flow ?
Thanks for your suggestions
csierra67
Hi Meldrak,
I gave it a try with a Core M5 basic but I did not get the inside of the battery turn green, orange or red. It stayed black. The issue is that the m5f file does not contain all of the blockly commands, rect1, rect2... up to rect 6 are missing and must be added. The python program contains the corresponding commands but they don't seem to be sufficient..
The increase brightness button works, the decrease brightness seems to effective, screens becomes completely black.
Overall my feeling is that the code is too complex to just report the battery charge level.
And as you say, the indication lacks of precision : 100 % 75% 50% and 25%
Hi Meldrak,
I tried to download the program from your drive but it is protected and I did not have the permission.
Why not posting a copy of the UI Flow blocks (as an image or several images..) here.
As far as the publication of your example by M5 stack, I don(t know the submission process.
csierra67
Hi Meldrak,
With UI Flow 1, it is quite easy to report the battery status by a label.
But it may be fun to display the picture of the battery and with various colors. So I am interested by your example
Take care
csierra67
Thanks for the explanation. It is a pity, when the MCU runs on battery, there is no monitoring that would allow the user to take action when the battery comes close to the threshold value.
After 157 views and No answer, I conclude that nobnody has an answer ;-)... Poor reactivity of this forum ;-(
Core 2 being able to be programmed with UI Flow 1 and UI Flow 2 and as the battery follow up exists in UI Flow2, I conclude that it is missing for now in UI Flow2 and hopefully M5 stack will provide it.