logo

Crowdly

Browser

Add to Chrome

What will this code do? int sensor = analogRead ( A0 ); if ( sensor > ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What will this code do?

int sensor = analogRead(A0);

if (sensor > 700) {

  digitalWrite(8, HIGH);

} else {

  digitalWrite(8, LOW);

}

More questions like this

Want instant access to all verified answers on moodle.bcu.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome