diff options
author | siddhu8990 | 2017-04-13 10:42:02 +0530 |
---|---|---|
committer | siddhu8990 | 2017-04-13 10:42:02 +0530 |
commit | 160eb350837f8cd3cdb0943b5929e11f44036826 (patch) | |
tree | 5b8166b0ec4aca53df11365f8be96ac07088558f /2.3-1/src/c/hardware/rasberrypi/gpio | |
parent | e59107e6bb2695fc20fd0ab229e296b9bf739fc4 (diff) | |
download | Scilab2C-160eb350837f8cd3cdb0943b5929e11f44036826.tar.gz Scilab2C-160eb350837f8cd3cdb0943b5929e11f44036826.tar.bz2 Scilab2C-160eb350837f8cd3cdb0943b5929e11f44036826.zip |
Functions added - balance,rcond,obscont
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/gpio')
-rw-r--r-- | 2.3-1/src/c/hardware/rasberrypi/gpio/u8RPIDigitalSetups.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/gpio/u8RPIDigitalSetups.c b/2.3-1/src/c/hardware/rasberrypi/gpio/u8RPIDigitalSetups.c index fa860255..f5fefe08 100644 --- a/2.3-1/src/c/hardware/rasberrypi/gpio/u8RPIDigitalSetups.c +++ b/2.3-1/src/c/hardware/rasberrypi/gpio/u8RPIDigitalSetups.c @@ -21,9 +21,10 @@ /*This array maps pin numbers on RPi board, with pin numbers corrsponding to WiringPi library*/ -int phy_pin[] = {17, 17, 8, 17, 9, 17, 7, 15, 17, 16, /*Pin 1 to 10*/ - 0, 1, 2, 17, 3, 4, 17, 5, 12, 17, /*Pin 11 to 20*/ - 13, 6, 14, 10, 17, 11 }; /*Pin 21 to 26*/ +int phy_pin[] = {17, 17, 8, 17, 9, 17, 7, 15, 17, 16, /*Pin 1 to 10*/ + 0, 1, 2, 17, 3, 4, 17, 5, 12, 17, /*Pin 11 to 20*/ + 13, 6, 14, 10, 17, 11, 30, 31, 21, 17, /*Pin 21 to 30*/ + 22, 26, 23, 17, 24, 27, 25, 28, 17, 29 }; /*Pin 31 to 40*/ /*pin is reduced by one as arrayiindex starts from 0 and pin no starts from 1*/ void u8RPIDigitalSetups(uint8 pin, uint8 direction) |