Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Please HELP UART in MSP430F5529 launchpad

$
0
0

hey friends,

                   I am trying UART in MSP430F5529 launchpaddrom 1 week ago but UART is not working properly.I can sent data from launchpad but not recv. data.so please help me.the code is down.i read a book.read header files.but its not working but the same code work on msp430G22553.

 

CODE:

 

#include <SoftwareSerial.h>

SoftwareSerial mySerial(P3_4, P3_3); // RX, TX

void setup()  
{
  // set the data rate for the SoftwareSerial port
  mySerial.begin(9600);
}

void loop() // run over and over
{
 
   mySerial.write(mySerial.read());
}
 

not getting any thing.

 

code 2:

void setup()  
{
  // set the data rate for the Serial port
  Serial.begin(9600);
}

void loop() // run over and over
{
 
   Serial.write(mySerial.read());
}
 

PLEASE TRY THIS CODE AND TELL ME IS ITS WORKING ON YOUR LAUNCHAPAD


Viewing all articles
Browse latest Browse all 2077

Trending Articles