So I am using a Lithium Rechargeable battery with the Heltec WiFi Kit 8, which is all good.
I want to add a manual power on/off slide switch so that the device can be switched on and off manually but so that if it’s plugged into usb it still continues to charge the battery regardless of the switch position.
I thought it might be just as simple as the enable pin to ground, but reading elsewhere I think that just switches off the regulator only does it? Quick test when running on battery shows the screen seems to stay on so I am thinking it just bypasses the regulator?
Any help would be much appreciated.
Thanks