| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
DEV-13044 bảng dữ liệu(PDF) 6 Page - SparkFun Electronics |
|
|
|||||||||||||||||||||||||||||
DEV-13044 bảng dữ liệu(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 |
|
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |