Urgent - analog pin as digital input with flash

digitalRead(14, HIGH);

I have no idea what the outcome of that piece of code will be, but you certainly can't read something "HIGH". You can either write it high, or read it.