#define Led1On digitalWrite (P1_0, 1) #define Led1Off digitalWrite (P1_0, 0) #define Led2On digitalWrite (P8_1, 1) #define Led2Off digitalWrite (P8_1, 0) #define Led4On digitalWrite (P1_1, 1) #define Led4Off digitalWrite (P1_1, 0) #define Led5On digitalWrite (P1_2, 1) #define Led5Off digitalWrite (P1_2, 0) #define Led6On digitalWrite (P1_3, 1) #define Led6Off digitalWrite (P1_3, 0) #define Led7On digitalWrite (P1_4, 1) #define Led7Off digitalWrite (P1_4, 0) #define Led8On digitalWrite (P1_5, 1) #define Led8Off digitalWrite (P1_5, 0) #define Pous2On (!digitalRead (P2_2))