I think this question has been asked and answered - but I just want to make sure.
I want to provide 5+ to VIN, to run the MKRWIFI1010 and to charge the attached LiPO. I will not be running the MKR from the USB (once I've downloaded the sketch) so I want to make sure that as long as I have 5+ volts applied to VIN, it will both run the MCU and charge the battery. Is this correct?
Related - is there a sketch that I can write (or has already been written) that allows me to calculate the current battery charge? If so, can just use a link.