Commit 957b2f54 authored by Hasini Dilanka's avatar Hasini Dilanka

Intial commit

parents
Pipeline #5431 failed with stages
void setup() {
Serial.begin (9600);
pinMode (11,OUTPUT);
}
void loop() {
int t = analogRead (A0);
Serial.println (t);
delay (200);
if (t>900){
digitalWrite (11,HIGH);
}
else {
digitalWrite (11,LOW);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment