summaryrefslogtreecommitdiff
path: root/macros/Hardware/RasberryPi/RPI_HardPWMWrite.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-07-20 19:39:55 +0530
committerBrijeshcr2017-07-20 19:39:55 +0530
commit95ba66169e2f30d87694703b6162c58d371fceda (patch)
tree701adbda6608b3a8274e45ca5a5fe82039a50a66 /macros/Hardware/RasberryPi/RPI_HardPWMWrite.sci
parentc70a50ed3df714fc52f18b41539c7f0ac2734f32 (diff)
parent38f1fb926d82f9144a5e9a28595d2d21dcc08f8e (diff)
downloadScilab2C_fossee_old-95ba66169e2f30d87694703b6162c58d371fceda.tar.gz
Scilab2C_fossee_old-95ba66169e2f30d87694703b6162c58d371fceda.tar.bz2
Scilab2C_fossee_old-95ba66169e2f30d87694703b6162c58d371fceda.zip
Added RPI demo and lcd128x64 fixed
Diffstat (limited to 'macros/Hardware/RasberryPi/RPI_HardPWMWrite.sci')
-rw-r--r--macros/Hardware/RasberryPi/RPI_HardPWMWrite.sci39
1 files changed, 0 insertions, 39 deletions
diff --git a/macros/Hardware/RasberryPi/RPI_HardPWMWrite.sci b/macros/Hardware/RasberryPi/RPI_HardPWMWrite.sci
deleted file mode 100644
index dba5e67..0000000
--- a/macros/Hardware/RasberryPi/RPI_HardPWMWrite.sci
+++ /dev/null
@@ -1,39 +0,0 @@
-// This file must be used under the terms of the CeCILL.
-// This source file is licensed as described in the file COPYING, which
-// you should have received as part of this distribution. The terms
-// are also available at
-// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
-// Organization: FOSSEE, IIT Bombay
-// Email: toolbox@scilab.in
-
-function RPI_HardPWMWrite(pin,value)
-// Function to change pwm duty on specified pin. Hardware PWM is available
-// only on pin 12. So, only '12' should be provided as pin
-//
-// Calling Sequence
-// RPI_HardPWMWrite(12,512) //Value must be smaller than the range set
-// using RPI_HARDPWMSetRange
-//
-// Parameters
-// pin: pin no on which pwm value is to be changed. Currently only 12 is allowed
-// value: pwm value for given pin. This must be less than range value set
-// Description
-// This function changes pwm duty on specified pin. As for RPi, only one pin
-// (pin 12) is available for hardware PWM.
-// PWM frequency = (PWM Clock frequency/Clock divisor/range)
-// PWM clock frequency = 19.2 MHz
-// clock divisor is setup using RPI_HardPWMSetClock
-// range is setup using RPI_HardPWMSetRange
-// Actual PWM duty = value/range
-// Examples
-//
-// See also
-// RPI_HardPWMSetClock RPI_HardPWMSetRange
-//
-// Authors
-// Siddhesh Wani
-// -----------------------------------------------------------------
-
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for RPi.
-endfunction