| поискавой системы для электроныых деталей |
|
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 |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |