Pulse sensor library