Added a global defines file

I added a global defines file which no have a PRESSED and RELEASED
constant for making code with limit switched easier to read.

Bijan