summaryrefslogtreecommitdiff
path: root/2.3-1/macros/Hardware/RasberryPi
diff options
context:
space:
mode:
authorsiddhu89902017-04-13 10:42:02 +0530
committersiddhu89902017-04-13 10:42:02 +0530
commit160eb350837f8cd3cdb0943b5929e11f44036826 (patch)
tree5b8166b0ec4aca53df11365f8be96ac07088558f /2.3-1/macros/Hardware/RasberryPi
parente59107e6bb2695fc20fd0ab229e296b9bf739fc4 (diff)
downloadScilab2C-160eb350837f8cd3cdb0943b5929e11f44036826.tar.gz
Scilab2C-160eb350837f8cd3cdb0943b5929e11f44036826.tar.bz2
Scilab2C-160eb350837f8cd3cdb0943b5929e11f44036826.zip
Functions added - balance,rcond,obscont
Diffstat (limited to '2.3-1/macros/Hardware/RasberryPi')
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.binbin4952 -> 5264 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.sci3
2 files changed, 2 insertions, 1 deletions
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin
index ec8fd0d7..f4c16f39 100644
--- a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.sci b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.sci
index 8775e4cd..4df03f67 100644
--- a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.sci
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.sci
@@ -22,7 +22,8 @@ function state = RPI_DigitalIn(pin)
//
// -----------------------------------------------------------------
//Pins of header P1 which can be used as GPIO
-supported_pins = [3,5,7,8,10,11,12,13,15,16,18,19,21,22,23,24,26]
+supported_pins = [3,5,7,8,10,11,12,13,15,16,18,19,21,22,23,24,26,27,28,29,...
+ 31,31,33,35,36,37,38,40];
PinIsGPIO = members(pin, supported_pins); //Check if input pin supports GPIO