added solenoid delay macro
added ISR and LCD code