I imagined that

but i mean an example with the routine for sleep and awake on input HI/lo

P.S. I use proton+ picbasic v3