Arduino pwm input rc receiver. Then set that pin as an input and use the pulsein command.