The program is attached to this message.
Please help, Thanks
Before you post another damned photo, read How to post code properly.
Pete
What's confusing about that?!? Read about analogRead() in the online reference.