 void sys_watch() {
 	if (analogRead(LIGHT_SENSOR) > 600) {
 		digitalWrite(DISPLAY_LIGHT, LOW);
+		digitalWrite(PWM_S1, LOW);
 	} else {
 		digitalWrite(DISPLAY_LIGHT, HIGH);
+		digitalWrite(PWM_S1, HIGH);
 	}
 }
 

		};

		#ifdef DEBUG
		switch (display_list(5, menu_array)) {
		#else
		switch (display_list(4, menu_array)) {
		#endif
			case 0:	alarm_mode();
					break;
			case 1: system_state	= SPEED_STATE;
					break;

			case 3: system_state	= SETTINGS_STATE;
					break;

			#ifdef DEBUG
			case 4: self_test();
					break;
			#endif
		}

#define LIGHT_SENSOR	7

/*Цифровые выводы*/
#define	PWM_S1			5
#define	PWM_S2			6
#define	PWM_S3			9
#define BIP				4
#define DISPLAY_LIGHT	10
#define VIBRO_SENSOR	7

