analog read/write help

Did you read reply #1?

Read this before posting a programming question

Please read about putting your code into code tags.

Please edit your post, select the code, and put it between [code] ... [/code] tags.

You can do that by hitting the # button above the posting area.