#include <Servo.h>;
unsigned long interval;
int otacky;
Servo Otackomer;
void setup() {
// put your setup code here, to run once:
pinMode(8, INPUT_PULLUP);
Serial.begin(9600);
Otackomer.attach(9);
}
void loop() {
// put your main code here, to run repeatedly:
interval = pulseIn(8,LOW);
otacky = interval/1000;
Serial.println(otacky);
Otackomer.write(otacky);
}