summaryrefslogtreecommitdiff
path: root/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci
diff options
context:
space:
mode:
authorsiddhu89902016-08-18 15:47:18 +0530
committersiddhu89902016-08-18 15:47:18 +0530
commitc8fd6991786ccddb44547b619178bb391f3f9b96 (patch)
treecd1cacd7796d85875e8b2bb15780902c55f42db1 /macros/Hardware/RasberryPi/RPI_DigitalSetup.sci
parent24fbba33153e7758df4a990cb4c21ae8e53e6f3e (diff)
downloadscilab2c-c8fd6991786ccddb44547b619178bb391f3f9b96.tar.gz
scilab2c-c8fd6991786ccddb44547b619178bb391f3f9b96.tar.bz2
scilab2c-c8fd6991786ccddb44547b619178bb391f3f9b96.zip
RPi-PWM and basic imaage processing
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 aede0b7a..460a4174 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)