Final Arduino sketch for Menta ECG Simulator