Similar to what gatesphere said.
In
http://focus.ti.com/lit/ug/slau144e/slau144e.pdf, pg 380
WDTCNTCL Bit 3 Watchdog timer+ counter clear. Setting WDTCNTCL = 1 clears the count
value to 0000h. WDTCNTCL is automatically reset.
0 No action
1 WDTCNT = 0000h
You can reset the watchdog by:
WDTCTL |= WDTCNTCL
Well, You have to tell the controller how you wish to use the pin. If you want to connect it to an LED, you configure it as an output. If you connect a switch to the pin, you need to configure it as an input. Its not going to work if you connect an LED to the pin, and