XIAO nrf52840 how to detect if USB-c cable is plugged in?


LEDG or LED_PWR may be used to detect it.