In the rcSwitch mySwitch.enableReceive(0); the 0 identifies the interrupt to be used. Change this to the GPIO pin number you want to attach the RXData line to. 0 is probably not a good choice as it is one of the lines used during boot up.
In the rcSwitch mySwitch.enableReceive(0); the 0 identifies the interrupt to be used. Change this to the GPIO pin number you want to attach the RXData line to. 0 is probably not a good choice as it is one of the lines used during boot up.