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

Serial communication (UART) with other Wifi modules MSP430

$
0
0

I understand the code about UART with the serial monitor, What should I change if I want to have TX,RX send data to TX RX on another wifi module?? Please help!!!!

 

 

const int analogInPin = P1_3; //Analog input pin that the output from the current sensor is attached to
 
int ADCValue = 0; //value read from the output
void setup()
{
 
  Serial.begin(9600);
  pinMode(analogInPin,INPUT);
 
}
void loop()
{
 
  ADCValue = analogRead(analogInPin); 
 
  
  Serial.print("ADC = " );                       
  Serial.println(ADCValue);   
  delay(20); // fs=1/T sampling time with approx.50Hz signal    
}

Viewing all articles
Browse latest Browse all 2077

Trending Articles