Added an include and map the sensor reading to be compatible with arduino to match the pulse sensor processing sketch.