How to Update PIN in Library

I'm new to arduino. I'm trying to use a library "GitHub - chrisandreae/RemoteReceiver: Arduino library for receiving data from wireless remote controls".
But it uses a predefined pin 2(interrupt 0) for arduino Uno board, but I want to use NodeMCU how can i change pin/Interrupt pin number? Any help is deeply appreciated.


You have the source files of the library.

Open the .h and .cpp files in an editor and have a look around for where the pin is defined and when and where it is used.

The only place interrupt 0 is predefined is in the example sketch:


By default, the library allows you to pass the interrupt number to RemoteReceiver::start(). So if you want to use a different interrupt number then you only need to change that line of the sketch.