hi everyone Ihave hc-05 bluetooth module and I wıll use ıt to take two integer values from matlab and I will send this integer values to the arduino for example X=155 Y=280 I want to send this integer values with using hc-05 module but I have no idea how I will realize that can anybody help me???
There is a brilliant guide here that explains how to send data back and forth between a PC and Arduino via a cheap Bluetooth HC-05 transceiver. The Arduino part is easy. I do not know what can be done from matlab.
There is no special code for bluetooth. You can run the programme in reply #1 without bluetooth, just the serial monitor.. The hard bit is the forming the serial data for input and how it is handled in Arduino. You might find this useful http://forum.arduino.cc/index.php?topic=396450.0