3 Copyright (C) 2012 jaseg <s@jaseg.de>
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 version 3 as published by the Free Software Foundation.
15 WDTCTL
= WDTPW
| WDTHOLD
; //Disable WDT
16 P1DIR
= 0x41; //P1.6 (green led) and P1.0 (red LED) outputs
19 DCOCTL
|= DCO1
| DCO0
;
20 BCSCTL1
|= RSEL3
| RSEL2
| RSEL0
;
22 //UART io setup (RX: P1.1, TX: P1.2)
28 //set global interrupt enable bit
34 unsigned int i
= 0xffff;