Something to try ....
remove (carefully unsolder?) the LED and see if pin goes high low high with a meter. If this works then reconnect up your LED and add decoupler Cap close to Vdd (10uF or similar).