Troubleshooting - recieving signals from RC controller to arduino pro micro

Hello, recently I have been working on a project. I came across a problem for the program which I worked with, for receiving and serial printing RC signals from my controller with a Arduino Uno. The problem that I faced was that the program that I used did not work properly with the Arduino Micro. I used the same voltage supply, same controller, same pins used in the Arduino uno for analog input and the same schematic was incorporated. The only change was the Board from Arduino Uno to Pro Micro ATmega32U4 5V 16MHz. The code used is from the website as follows:

If any one has any suggestions as to why. Please let me know. Thank you.

Read throught the 'How to use this forum - please read" post at the top of this forum.

Then revise your post accordingly.

And a hint, only you know what "did not work properly" really means.