This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Need help about receive 2 word hex from Bluetooth HC-05

I want to receive "ON" from Bluetooth but how can i do that can anyone help me fix this code

switch (Rx_Data) { case 0x4f: if(Rx_Data = 0x4e) { TA0CCTL0 &= ~CCIE; // Disable Timer0_A interrupts P1SEL &= ~BIT6; // P1.6 selected as GPIO P1OUT |= BIT6 + BIT0; // P1.0 and P1.6 set high break; } else { TA0CCTL0 &= ~CCIE; // Disable Timer0_A interrupts P1SEL &= ~BIT6; // P1.6 selected as GPIO P1OUT &= ~(BIT6 + BIT0); break; } }

Thanks for you advance,

  • Akira-san,


    What device are you trying to communicate to? It would help us find someone that may be able to help on your question.

    Just to let you know, this is the /etc... Data Converters Forum. Generally this forum is used for questions about Analog to Digital or Digital to Analog Converters.


    Joseph Wu