433mhz receiver + Arduino & servo

Hello everyone,
I'm doing a project which is using a 433mhz one channel receiver to control servo 0 to 180 and 180 to 0 by Arduino. My question is that can I set up, for example, when I press a button on an RC then the receiver can give a high signal to pin 2 on Arduino then it will run the code to control a servo on pin 8.
Thanks

when I press a button on an RC

That depends on the RC, and whether your receiver/program can read the signal it produces. If so, yes.

Get each piece of the project running separately before trying to combine the parts, and use a separate power supply for motors and servos (or you will damage the Arduino).

Maybe. What RC? What receiver? Details are important.

Steve

Thanks all you guys to reply my stupid question
For the detail of 433mhz RC is here. "433 mhz receiver and RC"

If the RC works, is there any code that can use, for example, pin 2 receives a signal then activate pin 8 and give a signal to servo 0 to 180?

You'll have to do somechecking because that EBay page gives no real information about the connections etc. Are you planning to run the receiver on 12V? If so you'll need a simple 2 resistor voltage divider to connect the switched output to an Arduino pin which can only take 5V.

But other than that there should be no problem. I would first write some code which moves the servo when a switch is pressed (there are several examples in the IDE showing how to connect a switch and how to drive a servo). When that is moving the servo as you want just change the switch for the output from the receiver. Job done.

Steve