diff options
author | siddhu8990 | 2016-08-18 15:47:18 +0530 |
---|---|---|
committer | siddhu8990 | 2016-08-18 15:47:18 +0530 |
commit | 1552675d4ac3be8d265bcf089fbc1ac5be1547f9 (patch) | |
tree | 4162a70fa63681584c6d5485b08b516e64015569 /2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci | |
parent | 21ab4886b202a52189b398bd9d3137e2a567d62a (diff) | |
download | Scilab2C-1552675d4ac3be8d265bcf089fbc1ac5be1547f9.tar.gz Scilab2C-1552675d4ac3be8d265bcf089fbc1ac5be1547f9.tar.bz2 Scilab2C-1552675d4ac3be8d265bcf089fbc1ac5be1547f9.zip |
RPi-PWM and basic imaage processing
Diffstat (limited to '2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci')
-rw-r--r-- | 2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci index aede0b7a..460a4174 100644 --- a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.sci +++ b/2.3-1/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) |