Hi tgm1175,
Thanks for your reply.
My issue lies in converting my working sketch to a library. I do not have a firm understanding of how c++ classes should be structured. The code itself does work when in a sketch.
I do admit the coding is cluttered and I will clean it up as soon as I can get the library working.
Thank you for your input.
Regards,
Richard