summaryrefslogtreecommitdiff
path: root/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/Hardware/RasberryPi/RPI_DigitalSetup.sci')
-rw-r--r--macros/Hardware/RasberryPi/RPI_DigitalSetup.sci3
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci b/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci
index aede0b7..460a417 100644
--- a/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci
+++ b/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci
@@ -6,7 +6,8 @@ function RPI_DigitalSetup(pin, direction)
//
// Parameters
// pin : pin of RPi to be used
-// direction : direction to be set for pin (0 -> INPUT, 1 -> OUTPUT)
+// direction : direction to be set for pin
+// 0 -> INPUT, 1 -> OUTPUT, 2->PWM Output
//
// Description
// There are few pins available on RPi as Gpio or digital io. These pins can be used as digital output or input. Pin name must be provided from list provided. Please refer '' for complete list of pins. Direction can be 0 or 1 depending upon desired function (Input/output)