Arduino code for using Pulse sensor with Intel Galileo/Edison