Detecting if Vbus is present

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?



This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.