This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:applications:gpio:get-gpio-number [2024/08/06 05:47] nick ↷ Page name changed from products:sbc:common:applications:gpio:cal-gpio-number to products:sbc:common:applications:gpio:get-gpio-number |
products:sbc:common:applications:gpio:get-gpio-number [2024/08/06 06:05] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Get GPIO Number | + | ====== Get GPIO number |
| - | To use a GPIO pin, you need to know its PIN number. | + | **Calculation:** |
| - | + | ||
| - | ==== Calculation | + | |
| GPIO PIN number calculation method: '' | GPIO PIN number calculation method: '' | ||
| - | 1. '' | + | * '' |
| - | + | | |
| - | 2. '' | + | |
| - | ===== Example | + | **Example:** |
| 1. Get '' | 1. Get '' | ||
| - | ```sh | + | ```shell |
| # cat / | # cat / | ||
| GPIO ranges handled: | GPIO ranges handled: | ||
| Line 24: | Line 21: | ||
| 2. Get '' | 2. Get '' | ||
| - | ```sh | + | ```shell |
| # cat / | # cat / | ||
| registered pins: 82 | registered pins: 82 | ||