| 전자부품 데이터시트 검색엔진 |
|
DEV-13044 데이터시트(PDF) 6 Page - SparkFun Electronics |
|
|
|||||||||||||||||||||||||||||
DEV-13044 데이터시트(HTML) 6 Page - SparkFun Electronics |
|
6 / 11 page ![]() Connection Diagram for Active Low Push Button In the terminal, we will demonstrate how to activate and use a GPIO pin as an input configured as an active high. First, navigate to the GPIO directory on the Edison. cd /sys/class/gpio Select the GPIO pin to enable. In this case let us use GPIO 14. echo 14 > export Navigate to the newly created GPIO directory. cd gpio14 If you type “ls”, you should see a bunch of variables. active_low direction power uevent device edge subsystem value Let’s set the “direction” of the port to output. echo in > direction To confirm this, we will “cat” the value. cat direction You should see the “in” in the command line. Now the device is configured as an input. “value” is where the status of the pin is set, 1 for high, 0 for low. Page 6 of 11 |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |