TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6638
Posted: 04:05am 01 Oct 2025
The pulse is designed to light a LED so the user can count the 1 to 4 pulses. I doubt if 1mS would be visible to human eye.
If it was 1mS on/1mS off, waking from sleep and counting the up to 4 pulses would be minimal drain on the battery. That is easy to implement.
If is 10 mS on/10mS off, using the interrupt method would have high drain. Integrating the pulses with a capacitor might be better. It would effectively be a slow PWM