summaryrefslogtreecommitdiff
path: root/macros/Hardware/RasberryPi
diff options
context:
space:
mode:
authorsiddhu89902017-04-13 10:42:02 +0530
committersiddhu89902017-04-13 10:42:02 +0530
commitaceeb1fe05a8ff6c126ea9ba166a19249488dbd1 (patch)
tree705b22f253408d29d073284477221a8af64dda3a /macros/Hardware/RasberryPi
parente7dba33a909e158dffc6ddb3361df10d427db631 (diff)
downloadScilab2C_fossee_old-aceeb1fe05a8ff6c126ea9ba166a19249488dbd1.tar.gz
Scilab2C_fossee_old-aceeb1fe05a8ff6c126ea9ba166a19249488dbd1.tar.bz2
Scilab2C_fossee_old-aceeb1fe05a8ff6c126ea9ba166a19249488dbd1.zip
Functions added - balance,rcond,obscont
Diffstat (limited to 'macros/Hardware/RasberryPi')
-rw-r--r--macros/Hardware/RasberryPi/RPI_DigitalIn.binbin4952 -> 5264 bytes
-rw-r--r--macros/Hardware/RasberryPi/RPI_DigitalIn.sci3
2 files changed, 2 insertions, 1 deletions
diff --git a/macros/Hardware/RasberryPi/RPI_DigitalIn.bin b/macros/Hardware/RasberryPi/RPI_DigitalIn.bin
index ec8fd0d..f4c16f3 100644
--- a/macros/Hardware/RasberryPi/RPI_DigitalIn.bin
+++ b/macros/Hardware/RasberryPi/RPI_DigitalIn.bin
Binary files differ
diff --git a/macros/Hardware/RasberryPi/RPI_DigitalIn.sci b/macros/Hardware/RasberryPi/RPI_DigitalIn.sci
index 8775e4c..4df03f6 100644
--- a/macros/Hardware/RasberryPi/RPI_DigitalIn.sci
+++ b/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