Added support for flashing the light.

Blinks different patterns based on different errors.