Difference between revisions of "Template:Boardprocessor"
From InCircuit
(Created page with "* To access the Board Processor on the {{PAGENAME}} use the interface provided under "{{{1}}}" * Some devices may also be mapped to other parts of the filesystem. ** Touchscre...") |
|||
Line 1: | Line 1: | ||
− | * To access the | + | * To access the Boardprocessor on the {{PAGENAME}} use the interface provided under "{{{1}}}" |
* Some devices may also be mapped to other parts of the filesystem. | * Some devices may also be mapped to other parts of the filesystem. | ||
− | |||
** The gpios are accessible under "/sys/class/gpio/" | ** The gpios are accessible under "/sys/class/gpio/" | ||
− | *** "echo 240 > /sys/class/gpio/export" makes gpio 240 available | + | *** "echo 240 > /sys/class/gpio/export" makes gpio 240 available in "/sys/class/gpio/gpio240/" |
*** for output pins the direction has to be configured using "echo out > /sys/class/gpio/gpio240/direction" | *** for output pins the direction has to be configured using "echo out > /sys/class/gpio/gpio240/direction" |
Latest revision as of 10:55, 17 September 2014
- To access the Boardprocessor on the Boardprocessor use the interface provided under "{{{1}}}"
- Some devices may also be mapped to other parts of the filesystem.
- The gpios are accessible under "/sys/class/gpio/"
- "echo 240 > /sys/class/gpio/export" makes gpio 240 available in "/sys/class/gpio/gpio240/"
- for output pins the direction has to be configured using "echo out > /sys/class/gpio/gpio240/direction"
- The gpios are accessible under "/sys/class/gpio/"