void setup() {
// put your setup code here, to run once:
pinMode(6, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
//switch off LED
digitalWrite(6, LOW);
// set LED when I move the dial around to greater than 1000
if(analogRead(A6) >= 1000) {
digitalWrite(6, HIGH);
}
delay(400);
}