Help changing this IR sketch to RF

You've initialized the serial port, so why not get it to tell what your sketch is doing, rather than working blind?