Hi Geoff,
As you have probably realised I am pretty new to this. I managed to write the code without using the lcd and by entering the values directly for a,b..f, and that worked ok. Now I have complecated it by wanting an lcd to display my values. By introducing a,b...f I asumed it would be easier to get these values to show on the lcd. As yet I don't know how to do this either. I am trying to study the books, but have found no reference on how to do it yet. Thanks for your help. I will get on to the lcd bit next.