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

Bluetooth and MSP430G2

$
0
0
I took MSP430G2 and Bluetooth (JY-MCU Bluetooth Wireless Serial Port Module). Today I decided to try them and tied them in the following manner as explained HERE . All downloaded super and application Android BlueTerm, let the application run, and MSP-it got the following program:
 
    
char valor=0;
     
    void setup()
    {
      Serial.begin(9600);
    }
     
    void loop()  //Bucle infinito
    {
        if (Serial.available())//Si hay una caracter en el buffer serial
        { 
            valor = Serial.read();// Se lee el valor numérico en el puerto serie.
            Serial.print(valor);  
        }
    }
 
Connect to the bluetooth and when I start to write nothing happens. Dropped a Putty, but there nothing, nothing appears. However, when the two exchanged cable (TXD) and (RXD). Putty and run the program and when I write something in Putty appear symbols. If anyone can help would be great.

Viewing all articles
Browse latest Browse all 2077

Trending Articles