Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:applications:gpio:get-gpio-number

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:common:applications:gpio:get-gpio-number [2024/08/06 06:03]
nick
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 ======
  
-==== Calculation ====+**Calculation:**
  
 GPIO PIN number calculation method: ''Number = Range Base + Pin Index'' GPIO PIN number calculation method: ''Number = Range Base + Pin Index''
Line 9: Line 9:
   * ''Pin Index'' refers to the sorting of the GPIO pins you need to calculate in the corresponding ranges   * ''Pin Index'' refers to the sorting of the GPIO pins you need to calculate in the corresponding ranges
  
-==== Example ====+**Example:**
  
 1. Get ''Range Base'': 1. Get ''Range Base'':
Last modified: 2024/08/06 06:03 by nick