added demo for LPM0 and LPM4 modes