summaryrefslogtreecommitdiff
path: root/macros/Hardware/AVR/AVRDigitalSetup.sci
diff options
context:
space:
mode:
authorSandeep Gupta2017-07-05 12:41:25 +0530
committerSandeep Gupta2017-07-05 12:41:25 +0530
commit06337f0dc8114c70fd0c7767083971a0d091750a (patch)
tree446481550ba88e6e0f7df2db7fdc66d2016ee2f1 /macros/Hardware/AVR/AVRDigitalSetup.sci
parentc2e305c3b82ed944d57402dd515b3d5839a31980 (diff)
downloadscilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.tar.gz
scilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.tar.bz2
scilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.zip
LinearAlgebra and MatrixOperation Update
Diffstat (limited to 'macros/Hardware/AVR/AVRDigitalSetup.sci')
-rw-r--r--macros/Hardware/AVR/AVRDigitalSetup.sci13
1 files changed, 6 insertions, 7 deletions
diff --git a/macros/Hardware/AVR/AVRDigitalSetup.sci b/macros/Hardware/AVR/AVRDigitalSetup.sci
index ed6cf306..e707d4fa 100644
--- a/macros/Hardware/AVR/AVRDigitalSetup.sci
+++ b/macros/Hardware/AVR/AVRDigitalSetup.sci
@@ -15,8 +15,8 @@ function AVRDigitalSetup(port,pin,direction)
// AVRDigitalSetup(port,pin,direction)
//
// Parameters
-// port : port of microcontroller to be used
-// pin : pin of port (mentioned above) to be used
+// port : port of microcontroller to be used
+// pin : pin of port (mentioned above) to be used
// direction : direction to be set for pin (INPUT\OUTPUT)
//
// Description
@@ -26,19 +26,18 @@ function AVRDigitalSetup(port,pin,direction)
// used as digital output/input. Also, desired direction must be specified as
// 'INPUT' or 'OUTPUT'.
//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
// Examples
// AVRDigitalSetup('A',0,OUTPUT)
//
// See also
// AVRDigitalIn AVRDigitalOut
//
+//
// Authors
-// Siddhesh Wani
-// Ashish Kamble
+// Siddhesh Wani Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if((port==0)|(port>=5)) then
disp("Error : Invalid input argument ''port'' in AVRDigitalSetup function.");