jremington:
It is unlikely that anyone on this forum has your combination of hardware, so the code can't be tested by us.You need to figure out why you are getting "inf" as a result.
Place print statements throughout the code to determine which variables do not have the values you expect.
I understand what you mean and I tried but no luck.
My skills are just lacking.
As soon as I add #include <VirtualWire.h> i get the "inf" as a result.
I was hoping someone could just tell by knowledge of the libraries.