Battery follow up in UI Flow2
-
Hi there
I am starting to experiment with Core S3 . I could not find the Power block available in UI Flow 1 that allows to follow battery remaining capacity, battery voltage and possibly battery current.
The block should be under hardware but there is nothing like that to add.
I am missing something or is this block just not yet implemented ?
Thanks a lot for your commentscsierra67
-
The S3 series is not compatible with UIFlow 1 due to the way it works.
-
Thanks a lot, but as the title indicates is there a battery follow up of Core S3 in UI Flow ?
-
I mean UIFlow 2
-
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.
-
@csierra67 Python's API, blockl does not yet exist.
import M5 # Battery percentage M5.Power.getBatteryLevel() # set Charge Current M5.Power.setChargeCurrent()
-
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.
-
This code will help :
print(M5.Power.getBatteryLevel())