void setup()
{
// put your setup code here, to run once:
pinMode(11, OUTPUT);
}
void loop()
{
digitalWrite(11, LOW);
// put your main code here, to run repeatedly:
if(analogRead(A0) >= 50)
{
digitalWrite(11, HIGH);
}
}
void setup()
{
// put your setup code here, to run once:
pinMode(11, OUTPUT);
}
void loop()
{
digitalWrite(11, LOW);
// put your main code here, to run repeatedly:
if(analogRead(A0) >= 50)
{
digitalWrite(11, HIGH);
}
}