Help with combining 2 sketches together.

Just tried that. Compiles fine but still nothing. Absolutely no reaction from Arduino when buttons are pressed or R is sent to it.