replace pin number by constants

 - RED
 - SWITCH_TOP
 - SWITCH_LOCKER
 - READY
 - RESET
 - ...
Correct minor bug in sketch.

now it can be compiled