Multiple if...else statements in LED dimmer code

Posting code that builds, would help us, help help you.

Mark