summaryrefslogtreecommitdiff
path: root/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.sci')
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.sci3
1 files changed, 2 insertions, 1 deletions
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