Help Required on Getting Homebrew EmonPi Running

@pb66, disregard the above as Robert has discovered an issue with the IDE V 1.8.6 is what I am using) and I fixed this issue as per Robert Wall’s post under the heading ""Arduino IDE problem - showString( )
see below:

That has solved all compilation problems but I was unable to upload the sketch using the IDE as it failed each time, BUT I UPLOADED THE SKETCH USING AVRDUDE AND IT NOW WORKS!!!
Just wondering why I couldn’t upload using the IDE - any ideas?
I am using the following IDE settings:
Board:Arduino/Genuine Uno
Port: Com 3
Programmer: USBasp

To sum it up, I can’t thank you enough for all the help you have given me along this very frustrating but ultimately satisfying path. I now have an understanding of both Arduino and RPI that I didn’t have before, so I have learnt a lot which is a good result in the end.
There is still some investigations required by me as to why the RFM chip caused the problem, but I think it highlighted a deficiciency in the firmware that could have had an error message as part of the setup that indicated an issue with RFM communication. If there had have been an error message pointing towards an issue with the RFM chip, it would have prevented a lot of angst early on. Also, the update to the IDE causing issues with both the Boolean function and the TRUE/FALSE statements needs to be reflected in the source files down the track.
I am sure that this won’t be the last question I have for this forum, so I hope everyone is as patient with me as has been the case with this looooong post.

Regards,
Dave