mirror of
git://soft.sys114.com/WiringPi2-Python
synced 2026-02-09 18:54:22 +09:00
Added in some new functions to return the Pi board revision and
allow access to the wiringPi to BCM_GPIO pin mapping tables.
This commit is contained in:
@@ -62,6 +62,9 @@ extern int wiringPiSetupSys (void) ;
|
||||
extern int wiringPiSetupGpio (void) ;
|
||||
extern int wiringPiSetupPiFace (void) ;
|
||||
|
||||
extern int piBoardRev (void) ;
|
||||
extern int wpiPinToGpio (int wpiPin) ;
|
||||
|
||||
extern int wiringPiSetupPiFaceForGpioProg (void) ; // Don't use this - for gpio program only
|
||||
|
||||
extern void (*pinMode) (int pin, int mode) ;
|
||||
|
||||
Reference in New Issue
Block a user