Power down mode and USB restore after wakeup

Hi, I have problem with USB (on atmega32u4), after enter and exit from power-down mode USB does not work anymore until the reset program, how to resotre USB to work after exit form power-down mode?

how to resotre USB to work after exit form power-down mode?

My crystal ball says that you need to fix line 37 in ForgotToPostMyCode.cpp.

I don’t think we need to see his code for such a simple request.

I’ve been wondering the same thing – is there something special that needs to be done to re-initialize the USB interface after exiting a powerdown mode?

Greg

LOL @bigredbee, I was expecting the answer from you if it is such a simple request that can be answered without looking at code ;)

We do need to see code to see the sleep mode that's being used, the interrupt that's waking up the Arduino, etc. And need some information about which USB adapter is being used, too.