Driving a servo from analog input and ADCTouch

Hi, everyone! I’m trying to write some really simple code for an Uno to rotate a servo 90 degrees when I touch a wire connected to A0. My code compiles without error, but nothing happens when I touch the wire. I’d really appreciate some help here. What am I missing?

#include <Servo.h>
#include <ADCTouch.h>
Servo servo;

void setup() {
  Serial.begin(9600);
servo.attach(9);
}

void loop() {
  if (ADCTouch.read(A0)>800); {
    servo.write(90);
  }
}
 if (ADCTouch.read(A0)>800);

Oops

but nothing happens

Even when you’ve fixed the code, if the servo is already at 90 “degrees”, your code still won’t do anything.

I actually just figured it out. Code below:

#include <Servo.h>
#include <ADCTouch.h>
Servo servo;

void setup() {
  Serial.begin(9600);
servo.attach(9);
}

void loop() {
  int sensorValue = ADCTouch.read(A0);
  // print out the value you read:
  Serial.println(sensorValue);

  if (sensorValue>700) { 
    servo.write(180);
  }
  }

Thanks, anyway!