I am connecting two arduino MEGA2560 with help of HC-12 for communication, i do communicate between two arduinos.
But now i am trying to glow up led (which is connected to second arduino) when it gets a command from first arduino. It also gets glows up but when i give another command for another led it does not get glowed up.
But if i Reset the arduino than give command then it glows up. So i thought of to clear the string but i guess string is not been cleared up.
Please help me out !!