Arduino Code for using Pulse Sensor with Intel Galileo/Edison