error: expected primary-expression before '.' token

Thanks for this.

I've only just starting using the Arduino IDE. What object should I use to access GetKp and where can i find a description of the difference between objects and classes?

Also, when you say code tags, is that the </> icon on the top of the message entry box?

Regards

Dave