I have been working on a project where the following steps have to be carried out.
Receive data on the Bluetooth device onto Arduino mega. (DONE)
Compute the data and according to the output make if-else statements. (DONE)
The if-else statements has a particular character to be send to ARDUINO LEONARDO if the condition is true.
Receive the character from Arduino Mega onto Arduino Leonardo and do further actions on Leonardo.
Now I have already completed the first 2 steps but was unable to make the Arduino's communicate. I have to send only 1 character and not a string. The RX0 and TX0 on the Mega have already been used, so either I have to use SoftwareSerial or any other RX/TX.
I already went through Robin's post about Serial Communication but couldn't make it happen. http://forum.arduino.cc/index.php?topic=288234.0
Would be of great help if you guys can help me through.