User talk:Angad singh

char data1[]={"UART DEMO\r\n"}; int i; void main(void) {	BCSCTL1 = CALBC1_1MHZ; WDTCTL = WDTPW + WDTHOLD; DCOCTL = CALDCO_1MHZ; P1SEL = 0x06 ; P1SEL2 =0x06 ; UCA0CTL1|= UCSSEL_2; UCA0BR0 = 104; UCA0BR1 = 0; UCA0CTL1 &= ~UCSWRST; while(1) { 		for(i=0;i<=14;i++) {	while (!(IFG2 & UCA0TXIFG)); UCA0TXBUF=data1[i]; _delay_cycles(50000); } } }
 * 1) include "msp430g2553.h"