to sample the Pulse Sensor with consistent and regular timing. The code is setup to read Pulse Sensor signal at 500Hz (every 2mS). The reasoning for this can be found ...
This sketch offers a simple code illustrating the use of the blink() function of the PCA9536_RGB library. The blinking function uses an ISR (Interrupt Service Routine) based on overflow of Arduino ...