Hi,
I am working on the Thingy91 and trying to set up an event when the USB power state changes (USB cable w/power is plugged or unplugged). For now I will just blink an LED or something simple. I have a few references but nothing that solves the problem on the Thingy91 just yet.
I've been pointed to this app
however it inst supported on the thingy91
also
I found this performing the same task on the nrf52832.
https://devzone.nordicsemi.com/f/nordic-q-a/31289/charging-indication-by-led-glow
it looks to be doing exactly what I want to do successfully. It does so via "P0.17 connected to USB supply using voltage divider". Is there a pin on the thingy91 connected to the USB power supply that I can set up a similar process. I looked at the pin layouts on the thingy91 manual but didn't see anything that looked correct. Is this something I would have to wire up myself or does it already exist and I just missed it?
Any help would be appreciated.