Question: Please answer the following questions. //use integer variable to store pin # for LED (global variable) II connect LED this digital port/pin intledPina 10; //

Please answer the following questions.
 Please answer the following questions. //use integer variable to store pin
# for LED (global variable) II connect LED this digital port/pin intledPina
10; // the setup) function runs once at startup void setup() pin

//use integer variable to store pin # for LED (global variable) II connect LED this digital port/pin intledPina 10; // the setup) function runs once at startup void setup() pin 10 pinMode(ledPin, OUTPUT), Il initialize the digital pin as an output. LED // the loop routine runs over and over again forever void loop) GND digitalWrite(ledPin, HIGH); / turn the LED on delay(2); digitalWrite (ledPin, LOW), turn the LED off delay(8); Note: every LED needs a series resistor (200-1K ohms) I/ wait in msec / wait in msec

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!