enter sleep mode when last bit is received and wake on int0 (ir input)