Emon and SerLCD

My apologies PaulS, I realise I'm being an ass.

I find it hard to gather information on the arduino that I can easily understand, it's all new to me.

What I have done is taken the code inside the loop of the 2nd sketch and placed it inside the Emonlib.cpp instead of the serial.print code inside Emonlib.cpp

When I verify this code I get the "undefined in scope" error. I understand why I get that, the instance myserial is not inside the Emonlib.cpp.

What I am unable to find is how to have the 5 values in Emonlib.cpp be available for use inside a sketch.

Hope this info is a little more usefull.

Regards,
Pebbles