Github Pulse Sensor, While the thread is running you can read bpm to get the active beats per minute.