Please guide me where am I going wrong.
Is this has to do with the power down sleep mode I am using. Do I need to do something more after the processor comes back from sleep. Is there any way of flushing out any voltage remains on the digital pin and make it absolutely zero to provide exact 5 Volts on drain ? I hope I am not sounding confusing ?