Wireless control system problem

Let me know if you have any questions.

What question are you asking?

In both sketches, you are doing Serial.reads, without checking that there is anything to read.