Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

because i want only diagram not coding ? Circuit diagram: For this lab we will be using a button to control LED lights. Please setup

because i want only diagram not coding ?
Circuit diagram: For this lab we will be using a button to control LED lights. Please setup
the following circuit and run the code provided in level 1.
Level 1: Run the following code to make sure your button works.
int blueLedPin =13; //The blue LED is connected pin 13 of the Arduino.
int button1Pin =2; ??/The SW1 button is connect to pin 2 of the Arduino.
void setup() The Setup function runs once
pinMode(blueLedPin, OUTPUT); //Setup blue LED pin as an output pin.
pinMode(button1Pin, INPUT); //Setup button1 pin as an input pin.
}
void loop(){//The loop function runs forever. i want to add second button for control red led in this diagram
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Do you currently have a team agreement?

Answered: 1 week ago

Question

How will the members be held accountable?

Answered: 1 week ago