Jump to content
43oh

manju

Members
  • Content Count

    1
  • Joined

  • Last visited

About manju

  • Rank
    Noob Class
  • Birthday 06/10/1988

Profile Information

  • Gender
    Male
  1. manju

    msp430g2553

    Hi am new to the msp430,and trying to receive a string and transmit the same,am not getting the output.can anyone tell me the what is the problem.This is my code unsigned char rcvdata,datareceived; unsigned char Rxbuff[5]; unsigned int Rxdatalen; unsigned int datalen; unsigned char databuf[5]; unsigned char Rxtoutcnt; unsigned char compltflag=1; void delay_ms(unsigned int cnt) { volatile unsigned int i,j; for(i=0;i<cnt;i++) for(j=0;j<88;j++); } void init_serial(void) { P1IN = 0X04; P1DIR = 0x08; P1OUT = 0x00; P1SEL = BIT1+BIT2; P1SEL2= BIT1+BIT2; UCA
×
×
  • Create New...