code help please

bbishop:
What in particular is missing?

Sketches usually have a setup and loop function.
Have you looked at what you posted?