This the the code for the ultimate power bank V3
PLEASE NOTE: AS YOU ARE READING THIS, I am designing an updated version of this powerbank with STM32, the code is going also be re-written. Stayed tuned. I am not a professional programmer, my code is VERY MESSY, if you can improve on my code or introduce new functionality, that would be greatly apperciated!!!