From dc390ceae3fd549be6b9acbf2b6ce0e940bb8e83 Mon Sep 17 00:00:00 2001
From: BeomSooHeo <pung725@ajou.ac.kr>
Date: Mon, 10 Aug 2020 18:12:23 +0900
Subject: [PATCH] Add new file

---
 GPIO_control/2020_08_10.md | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 GPIO_control/2020_08_10.md

diff --git a/GPIO_control/2020_08_10.md b/GPIO_control/2020_08_10.md
new file mode 100644
index 0000000..610476b
--- /dev/null
+++ b/GPIO_control/2020_08_10.md
@@ -0,0 +1,37 @@
+# RaspberryPi LED practice Controlling GPIO PINs
+
+## 1. 브레드보드에 T자 모듈을 부착한 후, LED와 저항, 전원을 연결함. 
+<p>
+<br><br>
+![image](/uploads/5d411c6bed7aa69c4be3012b63f50b2f/image.png)
+<br><br>
+
+불이 들어왔다.
+</p>
+
+## 2. gpio readall을 통해 현재 RaspberryPi의 GPIO PIN들의 상태를 확인할 수 있다.
+
+<p>
+
+<br><br>
+![image](/uploads/ed8b0097b60388ecc4574e4bbe7300ec/image.png)
+<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>
+![image](/uploads/764b174b9fc7eb1475babba32e8ab3b6/image.png)
+<br><br>
+
+gpio write 29 1 을 주었지만 불이 들어오지 않았다..<br><br>
+
+
+</p>
\ No newline at end of file
-- 
GitLab