Flash/Heart Beat Sensor Query

Analog pins are read only. You can't put a value on an analog pin.