MIT connecting to MSP430

Hi I am trying to connect my keyboard app to the MSP430fr133 using the HC-05 bluetooth module using the IAR IDE, when the Enter button is pressed the text contained in the textbook should be sent which will light an LED as expected. The MSP430 code is working for other apps therefore I am unsure why this is not successful. I have attached images of my code below. Any help would be greatly appreciated.

Where's the Enter button and its Click event block?
(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.



The blocks for the enter button are shown in the image below.

I am writing code to store this as a string in the MSP430.

The sending code looks okay, aside from lacking a test to first see if you are still Connected, or maybe JOINing a \n after the sent text to help the receiver see end of text.

Does sending text from a stock BlueTooth Terminal app make a difference?

How would you recommend adding an /n to the block?, This app should work fine for the components I am using.

This is how to add a \n to your sent message:

Mind you, I don't recall seeing your sketch, so I am not yet convinced this might solve your problem (if you still have a problem.)
(I have the attention span of a flea.)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.