Question: int ledPin = 10;//use integer variable to store pin # for LED (global variable) //connect LED this digital port/pin //the setup function runs once at

int ledPin = 10;//use integer variable to store pin # for LED (global variable) //connect LED this digital port/pin //the setup function runs once at startup void setup() { pinMode(ledPin. OUTPUT);//initialize the digital pin as an output. } //the loop routine runs over and over again forever void loop() { digitalWrite(ledPin, HIGH);//turn the LED on delay(12);//wait in msec digitalWrite(ledPin, LOW);//turn the LED off delay(8);//wait in msec } What is the frequency (Hertz) of the blinking LED? 50 Hz 2000 Hz 100 Hz 2 seconds 2 Hz
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
