Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e19f471

Browse filesBrowse files
authored
Add files via upload
1 parent ade5d48 commit e19f471
Copy full SHA for e19f471

File tree

Expand file treeCollapse file tree

1 file changed

+19
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+19
-0
lines changed

‎transistor_interface_arduino.ino

Copy file name to clipboard
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// In this project we will be using a transistor to controll blinking of led
2+
// link to simulator
3+
// https://www.tinkercad.com/things/j0lTBx60uLw-transistor-interface-using-arduino
4+
5+
6+
const int led_pin =6;
7+
8+
void setup() {
9+
pinMode(led_pin , OUTPUT);
10+
11+
}
12+
13+
void loop() {
14+
digitalWrite(led_pin, HIGH);
15+
delay(500);
16+
digitalWrite(led_pin, LOW);
17+
delay(500);
18+
19+
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.