Needed: more efficient code, need to learn about functions i think!.....help!

if (damperOn && !damperState)

damperOn is a great name. It implies that a damper is either on or not on.

damperState is a lousy name. It implies what? Nothing.