Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:applications:gpio:wiringpi

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:wiringpi [2023/06/25 23:22]
nick
products:sbc:common:applications:gpio:wiringpi [2023/06/25 23:24] (current)
nick
Line 3: Line 3:
 ===== Introduction ===== ===== Introduction =====
  
-WiringPi is a C++ library for Raspberry Pi. With this library you can use many of the functionalities provided by the GPIO header: digital pins, SPI, I2C, UART, etc.+WiringPi is a C++ library for Raspberry Pi, we port it to Khadas SBC, With this library you can use many of the functionalities provided by the GPIO header: digital pins, SPI, I2C, UART, etc.
  
 ===== WiringPi Instructions ===== ===== WiringPi Instructions =====
Line 16: Line 16:
 ''wPi'' –> WiringPi number \\ ''wPi'' –> WiringPi number \\
 ''Mode'' –> GPIO Mode ,''ALT'' mean that this pin defined as a special function \\ ''Mode'' –> GPIO Mode ,''ALT'' mean that this pin defined as a special function \\
-''V'' –> 1:HIGH 0:LOW \\ +''V'' –> 1 - HIGH, 0 - LOW \\ 
-''PU/PD'' –> ''PU'':pull up ''PD'':pull down ''DSBLD'':disabled ''PU''/''PD''+''PU/PD'' –> ''PU'' - pull up, ''PD'' - pull down, ''DSBLD'' - disabled
  
 ==== Using via Command Line ==== ==== Using via Command Line ====
Last modified: 2023/06/25 23:22 by nick