I would also like to have an external power supply via the device's battery. This power bank function must be switchable on and off.
The function for the display is already implemented:
setBarPowerBank();
For this, PIN_POWERBANK is set to either HIGH or LOW.
Here it is crucial that PowerBank is ALWAYS off initially. In addition, we need to add PreventOverload to reduce the maximum available power of 10A when the powerbank is active.
I would also like to have an external power supply via the device's battery. This power bank function must be switchable on and off.
The function for the display is already implemented:
setBarPowerBank();
For this, PIN_POWERBANK is set to either HIGH or LOW.
Here it is crucial that PowerBank is ALWAYS off initially. In addition, we need to add PreventOverload to reduce the maximum available power of 10A when the powerbank is active.