Why do this?
sei();
You never disable interrupts.
attachInterrupt(0, rpm, RISING); //and the interrupt is attached
The only external interrupt that will wake it from sleep mode power down is LOW.
Why do this?
sei();
You never disable interrupts.
attachInterrupt(0, rpm, RISING); //and the interrupt is attached
The only external interrupt that will wake it from sleep mode power down is LOW.