Excellent !!

I took a reading with the arduino code and it was giving me a value of 39.7 - 40.2 over a few minutes. Tried your suggestions and the LCD displayed 39.7 - 40.1 - so it's bang on and confirmed with the hydrometers I have.

Ok now as I want to learn, can you explain what is happening in the code so I may learn from these examples.