I hope you can help me with an issue in USB port. I am using LPC1768 with USB API USBMSD and I need to detect when USB is connected to PC in order to make a change of context in my program. I am using MBED Studio IDE with Mbed OS 6.6.0. I am trying to use USBMSD::connect() but I don’t know very well how use this method.
Thanks for your help.