if (sensorValue >500) digitalWrite(Relay, HIGH);
if (sensorValue < 499) digitalWrite(Relay, LOW);
x < y (x is less than y)
x > y (x is greater than y)
Would be more correctly then ![]()
Was just happy to get it to click. did not pay much attention to the value right now ![]()