Help with combining 2 sketches together.

Absolutely no reaction from Arduino when buttons are pressed or R is sent to it.

So put some debug printing in and see what you get. Post the code with the debug printing in it and say what happens.