The input from an RC receiver is a variable width pulse, you simply need to measure the width of the pulse - I don't use PICBasic, but I seem to recall it has a PulseIn command?. Then simply compare the value from the pulse width and take the appropriate action.