@devinv the second one is the right one, but you can’t just type it (or even copy-paste it) on REPL: setup_sleep will start changing the state of the PIC and disable USB before you can enter the next call.