Changing the if() statement to use five LEDs

You'll have to explain a little bit more about what you want to do. What are the conditions you want to define for each of those LEDs?

[quote author=Runaway Pancake link=topic=102535.msg769208#msg769208 date=1335121557]
const int analogPin = A0;
Is that legal in that form?
A0 - A5 correspond to 14-20
Should it then be:
const int analogPin = 14;[/quote]

Yes, that's legal syntax. There is no difference by using "A0" or "14". So I don't understand what you are questioning.