Motor derection

If I(theoretically) had a bread board, a radio transmitter, a radio receiver, breadboard

What transmitter and receiver are you using? Theoretically you don't need any code at all. If you use the right hardware, it should all just work.

But this isn't theory. WHAT are you using? You seem to be generalizing a bunch of steps towards an end-goal.