waveform display

I'm trying to dispaly a hearbeat waveform and a hearbeat value but I can only display short bursts of data or a recatngular line.

Potential_code_for_device.ino (7.3 KB)

Better read the instructions then!