 #include <EEPROM.h>
 
 int pinled = 2;
-int pinservo = 3;
+int pinservodump = 3;
+int pinservoopen = 6;
 int pinmotor = 4;
 int pinmotorspeed = 5;
 int pingreen = 10;


void flush() {
	setcolor(128,0,200);
	servo.write(servodown);
	delayandrefresh(600);
	servo.write(servoup);

	delayandrefresh(1000);
	servo.write(servodown);
	delayandrefresh(2000);
	servo.write(servoup);

	setcolor(0,0,0);
	delayandrefresh(600);
}

void checkserial() {

	}
	
	for (int i = 0; i < 3; i++) {
		delayandrefresh(200);
		if (calibrated)
			setcolor(0,255,0);
		else setcolor(100,255,0);
		delayandrefresh(200);
		setcolor(0,0,0);
	}
}
