replaced delay() with delayMicroseconds(), otherwise timer LPM does not work