analogWrite() question

In addition I set the values pwmPin = 5 and pwmState = 200 and the light just flashes once, and due to the "meta refresh" towards the top of the code the light will blink every ten seconds.