Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
battle_c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BeomSooHeo
battle_c
Commits
dc390cea
Commit
dc390cea
authored
4 years ago
by
BeomSooHeo
Browse files
Options
Downloads
Patches
Plain Diff
Add new file
parent
6835ae7d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
GPIO_control/2020_08_10.md
+37
-0
37 additions, 0 deletions
GPIO_control/2020_08_10.md
with
37 additions
and
0 deletions
GPIO_control/2020_08_10.md
0 → 100644
+
37
−
0
View file @
dc390cea
# RaspberryPi LED practice Controlling GPIO PINs
## 1. 브레드보드에 T자 모듈을 부착한 후, LED와 저항, 전원을 연결함.
<p>
<br><br>

<br><br>
불이 들어왔다.
</p>
## 2. gpio readall을 통해 현재 RaspberryPi의 GPIO PIN들의 상태를 확인할 수 있다.
<p>
<br><br>

<br><br>
gpio write [PIN_No.] [1 or 0] 를 통해서 PIN에 대해 ON/OFF 제어가 가능하고,
<br><br>
gpio read [PIN_No.] 를 통해 해당 PIN의 상태를 읽어올 수 있다.
<br>
</p>
## 3. RaspberryPi 터미널을 통해 PIN에 전압을 제어하기 위해 21번 PIN과 연결하였다.
<p>
<br><br>

<br><br>
gpio write 29 1 을 주었지만 불이 들어오지 않았다..
<br><br>
</p>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment