Hi,
on the MKR1310 there is a way to detect when VBUS power is present and, instead, when power is from battery?
Looking at the schematic I find only the + 5V pin that I will have to use with a voltage divider to bring the voltage to 3.3V and read through a pin ... are there other ways without adding external components?
Thanks,
Guglielmo