summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/scilab2c.start2
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS1
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB1
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS1
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS1
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA2
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/TMAPbin2048 -> 0 bytes
-rw-r--r--help/en_US/scilab_en_US_help/ScilabCaution.pngbin507 -> 0 bytes
-rw-r--r--help/en_US/scilab_en_US_help/ScilabEdit.pngbin413 -> 0 bytes
-rw-r--r--help/en_US/scilab_en_US_help/ScilabExecute.pngbin535 -> 0 bytes
-rw-r--r--help/en_US/scilab_en_US_help/ScilabImportant.pngbin617 -> 0 bytes
-rw-r--r--help/en_US/scilab_en_US_help/ScilabNote.pngbin663 -> 0 bytes
-rw-r--r--help/en_US/scilab_en_US_help/ScilabTip.pngbin663 -> 0 bytes
-rw-r--r--help/en_US/scilab_en_US_help/ScilabWarning.pngbin507 -> 0 bytes
-rw-r--r--help/en_US/scilab_en_US_help/c_code.css54
-rw-r--r--help/en_US/scilab_en_US_help/jhelpmap.jhm5
-rw-r--r--help/en_US/scilab_en_US_help/jhelpset.hs28
-rw-r--r--help/en_US/scilab_en_US_help/scilab_code.css96
-rw-r--r--help/en_US/scilab_en_US_help/style.css350
-rw-r--r--help/en_US/scilab_en_US_help/xml_code.css94
-rw-r--r--jar/scilab_en_US_help.jarbin11210 -> 0 bytes
-rw-r--r--macros/ASTManagement/AST2Ccode.sci2
-rw-r--r--macros/ASTManagement/AST_HandleEndGenFun.sci10
-rw-r--r--macros/ASTManagement/libbin1960 -> 0 bytes
-rw-r--r--macros/CCodeGeneration/GetClsFileName.sci1
-rw-r--r--macros/CCodeGeneration/libbin1056 -> 0 bytes
-rw-r--r--macros/ErrorMessages/libbin520 -> 0 bytes
-rw-r--r--macros/FunctionAnnotation/libbin2412 -> 0 bytes
-rw-r--r--macros/FunctionList/libbin588 -> 0 bytes
-rw-r--r--macros/GeneralFunctions/libbin1132 -> 0 bytes
-rw-r--r--macros/Hardware/AVR/libbin972 -> 0 bytes
-rw-r--r--macros/Hardware/RasberryPi/libbin976 -> 0 bytes
-rw-r--r--macros/ImageProcessing/core/libbin524 -> 0 bytes
-rw-r--r--macros/ImageProcessing/highgui/libbin584 -> 0 bytes
-rw-r--r--macros/ImageProcessing/imgproc/libbin752 -> 0 bytes
-rw-r--r--macros/Scilab-Arduino/libbin716 -> 0 bytes
-rw-r--r--macros/SymbolTable/libbin752 -> 0 bytes
-rw-r--r--macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci26
-rw-r--r--macros/ToolInitialization/libbin804 -> 0 bytes
-rw-r--r--macros/cb_sci2c_gui.sci17
-rw-r--r--macros/findDeps/libbin596 -> 0 bytes
-rw-r--r--macros/libbin536 -> 0 bytes
-rw-r--r--macros/sci2c_gui.sci4
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h1
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h6
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralI2C.h13
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD.h23
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD128x64.h3
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h9
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMisc.h4
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h8
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPcf.h3
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPiGlow.h7
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPinMap.h3
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSerial.h15
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h6
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h5
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSoft.h11
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h2
-rw-r--r--src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c4
60 files changed, 161 insertions, 657 deletions
diff --git a/etc/scilab2c.start b/etc/scilab2c.start
index 793b0a7..91a5861 100644
--- a/etc/scilab2c.start
+++ b/etc/scilab2c.start
@@ -44,7 +44,7 @@ end
// =============================================================================
if or(getscilabmode() == ["NW";"STD"]) then
- mprintf("\tLoad demos\n");
+ mprintf("\tLoad demos\n");
pathdemos = pathconvert(root_tlbx + "/demos/scilab2c.dem.gateway.sce",%f,%t);
add_demo(gettext("Scilab2C"),pathdemos);
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS
deleted file mode 100644
index ef46423..0000000
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS
+++ /dev/null
@@ -1 +0,0 @@
- \ No newline at end of file
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB
deleted file mode 100644
index e3c71bf..0000000
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB
+++ /dev/null
@@ -1 +0,0 @@
-ej` \ No newline at end of file
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS
deleted file mode 100644
index 1324712..0000000
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS
+++ /dev/null
@@ -1 +0,0 @@
- \ No newline at end of file
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS
deleted file mode 100644
index 9c9d28d..0000000
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS
+++ /dev/null
@@ -1 +0,0 @@
-e".d \ No newline at end of file
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA
deleted file mode 100644
index a646b00..0000000
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA
+++ /dev/null
@@ -1,2 +0,0 @@
-JavaSearch 1.0
-TMAP bs=2048 rt=0 fl=-1 id1=10 id2=1
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP
deleted file mode 100644
index ee0149c..0000000
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP
+++ /dev/null
Binary files differ
diff --git a/help/en_US/scilab_en_US_help/ScilabCaution.png b/help/en_US/scilab_en_US_help/ScilabCaution.png
deleted file mode 100644
index 231159a..0000000
--- a/help/en_US/scilab_en_US_help/ScilabCaution.png
+++ /dev/null
Binary files differ
diff --git a/help/en_US/scilab_en_US_help/ScilabEdit.png b/help/en_US/scilab_en_US_help/ScilabEdit.png
deleted file mode 100644
index ff0cca7..0000000
--- a/help/en_US/scilab_en_US_help/ScilabEdit.png
+++ /dev/null
Binary files differ
diff --git a/help/en_US/scilab_en_US_help/ScilabExecute.png b/help/en_US/scilab_en_US_help/ScilabExecute.png
deleted file mode 100644
index 4acd4b9..0000000
--- a/help/en_US/scilab_en_US_help/ScilabExecute.png
+++ /dev/null
Binary files differ
diff --git a/help/en_US/scilab_en_US_help/ScilabImportant.png b/help/en_US/scilab_en_US_help/ScilabImportant.png
deleted file mode 100644
index 73931b2..0000000
--- a/help/en_US/scilab_en_US_help/ScilabImportant.png
+++ /dev/null
Binary files differ
diff --git a/help/en_US/scilab_en_US_help/ScilabNote.png b/help/en_US/scilab_en_US_help/ScilabNote.png
deleted file mode 100644
index 6607ece..0000000
--- a/help/en_US/scilab_en_US_help/ScilabNote.png
+++ /dev/null
Binary files differ
diff --git a/help/en_US/scilab_en_US_help/ScilabTip.png b/help/en_US/scilab_en_US_help/ScilabTip.png
deleted file mode 100644
index 6607ece..0000000
--- a/help/en_US/scilab_en_US_help/ScilabTip.png
+++ /dev/null
Binary files differ
diff --git a/help/en_US/scilab_en_US_help/ScilabWarning.png b/help/en_US/scilab_en_US_help/ScilabWarning.png
deleted file mode 100644
index 231159a..0000000
--- a/help/en_US/scilab_en_US_help/ScilabWarning.png
+++ /dev/null
Binary files differ
diff --git a/help/en_US/scilab_en_US_help/c_code.css b/help/en_US/scilab_en_US_help/c_code.css
deleted file mode 100644
index 948d2ee..0000000
--- a/help/en_US/scilab_en_US_help/c_code.css
+++ /dev/null
@@ -1,54 +0,0 @@
-.ccomment {
- font-style: italic;
- color: #b22222
-}
-
-.cdefault {
- font-style: normal;
- color: #000000
-}
-
-.copenclose {
- font-style: normal;
- color: #000000
-}
-
-.coperator {
- font-style: normal;
- color: #000000
-}
-
-.cstring {
- font-style: normal;
- color: #a6557a
-}
-
-.ctype {
- font-style: normal;
- color: #55a655
-}
-
-.cpreprocessor {
- font-style: normal;
- color: #9965a6
-}
-
-.cid {
- font-style: normal;
- color: #000000
-}
-
-.ckeyword {
- font-style: normal;
- color: #ad3ff2
-}
-
-.cmodifier {
- font-style: normal;
- color: #ad3ff2
-}
-
-.cnumber {
- font-style: normal;
- color: #008b8b
-}
diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm
deleted file mode 100644
index cdbcb20..0000000
--- a/help/en_US/scilab_en_US_help/jhelpmap.jhm
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE map PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN" "http://java.sun.com/products/javahelp/map_1_0.dtd">
-<map version="1.0">
-<mapID target="index" url="index.html"/>
-</map> \ No newline at end of file
diff --git a/help/en_US/scilab_en_US_help/jhelpset.hs b/help/en_US/scilab_en_US_help/jhelpset.hs
deleted file mode 100644
index 04f9fef..0000000
--- a/help/en_US/scilab_en_US_help/jhelpset.hs
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE helpset
- PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN" "http://java.sun.com/products/javahelp/helpset_1_0.dtd">
-<helpset version="1.0">
-<title>Scilab 2 C Converter</title>
-<maps>
-<homeID>top</homeID>
-<mapref location="jhelpmap.jhm"/>
-</maps>
-<view>
-<name>TOC</name>
-<label>Table Of Contents</label>
-<type>javax.help.TOCView</type>
-<data>jhelptoc.xml</data>
-</view>
-<view>
-<name>Index</name>
-<label>Index</label>
-<type>javax.help.IndexView</type>
-<data>jhelpidx.xml</data>
-</view>
-<view>
-<name>Search</name>
-<label>Search</label>
-<type>javax.help.SearchView</type>
-<data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
-</view>
-</helpset> \ No newline at end of file
diff --git a/help/en_US/scilab_en_US_help/scilab_code.css b/help/en_US/scilab_en_US_help/scilab_code.css
deleted file mode 100644
index 658f42e..0000000
--- a/help/en_US/scilab_en_US_help/scilab_code.css
+++ /dev/null
@@ -1,96 +0,0 @@
-.scilabcomment {
- font-style: italic;
- color: #01a801
-}
-
-.scilabdefault {
- font-style: normal;
- color: #000000
-}
-
-.scilabspecial {
- font-style: normal;
- color: #ffaa00
-}
-
-.scilabconstants {
- font-style: normal;
- color: #da70d6
-}
-
-.scilaboperator {
- font-style: normal;
- color: #5c5c5c
-}
-
-.scilabnumber {
- font-style: normal;
- color: #bc8f8f
-}
-
-.scilabfkeyword {
- font-style: normal;
- color: #b01813
-}
-
-.scilabskeyword {
- font-style: normal;
- color: #a020f0
-}
-
-.scilabckeyword {
- font-style: normal;
- color: #5f9ea0
-}
-
-.scilabcommand {
- font-style: normal;
- color: #32b9b9
-}
-
-.scilabmacro {
- font-style: normal;
- color: #ae5cb0
-}
-
-a.scilabcommand {
- font-style: normal;
- text-decoration: underline;
- color: #32b9b9
-}
-
-a.scilabmacro {
- font-style: normal;
- text-decoration: underline;
- color: #ae5cb0
-}
-
-.scilabstring {
- font-style: normal;
- color: #bc8f8f
-}
-
-.scilabid {
- font-style: normal;
- color: #000000
-}
-
-.scilabinputoutputargs {
- font-weight: bold;
- color: #834310
-}
-
-.scilabfunctionid {
- font-weight: bold;
- color: #000000
-}
-
-.scilabfield {
- font-style: normal;
- color: #aaaaaa
-}
-
-.scilabopenclose {
- font-style: normal;
- color: #4a55db
-}
diff --git a/help/en_US/scilab_en_US_help/style.css b/help/en_US/scilab_en_US_help/style.css
deleted file mode 100644
index 0fe8923..0000000
--- a/help/en_US/scilab_en_US_help/style.css
+++ /dev/null
@@ -1,350 +0,0 @@
-body {
- color:#000000;
- background-color:#ffffff;
- font-family:sans-serif;
- font-size:100%;
- margin:5px;
- padding:0;
- background : url("/img/body.png");
- background-repeat : repeat-x;
-}
-
-.para {
- padding-left: 10px;
-}
-
-.refname {
- color: #ff6c0a;
-}
-.refpurpose {
- font-size: 110%;
-}
-
-.synopsis {
- border: 1px solid black;
- width:80%;
- padding: 0.5em;
-}
-
-.editbar {
- text-align: right;
-}
-
-.term {
- color:#800000;
- font-size:100%;
-}
-
-h3 {
- color: #000063;
- font-weight: bold;
- font-size:130%;
- margin-bottom: 10px;
-}
-
-.programlisting {
- font-family: monospace;
- font-size: 100%;
- background-color:#EEEEFF;
- border-color:#CCCCCC;
- border-style:solid;
- border-width:2px medium;
- width:80%;
- color:#333333;
- line-height:120%;
- padding:10px;
-}
-
-.literal {
- font-family: monospace;
- font-size: 100%;
-}
-
-.option {
- font-family: monospace;
- font-style: italic;
- font-size: 100%;
-}
-
-.command {
- font-family: monospace;
- font-size: 100%;
- color: #32b9b9;
-}
-
-.function {
- font-family: monospace;
- font-size: 100%;
- color: #32b9b9;
-}
-
-.varname {
- font-family: monospace;
- font-weight: bold;
- font-size: 100%;
-}
-
-.constant {
- font-family: monospace;
- font-size: 100%;
- color: #da70d6;
-}
-
-a {
- color: blue;
- text-decoration:none;
-}
-
-a:hover {
- text-decoration:underline;
-}
-
-.itemizedlist {
- list-style-type: disk;
-}
-
-.inline-list li {
- display: inline;
- list-style-type: disk;
-}
-
-.vert-list {
- list-style-type: disk;
-}
-
-pre {
- margin-bottom: 0px;
- margin-top: 0px;
-}
-
-.leftpart {
- position:absolute;
- float:left;
- width: 186px;
- padding: 5px;
- font-size: smaller;
-}
-
-.content {
- margin-top: 100px;
- margin-left: 196px
-}
-
-.container {
- margin: 0 auto;
- width:1024px;
-}
-
-ul.toc li.list-active {
- list-style-type:disc;
- font-weight:bold;
-}
-
-ul.toc li.parent {
- font-size: 115%;
- padding: 5px 0px 5px 11px;
- border-bottom: 1px solid #cccccc;
- margin-bottom: 5px;
-}
-
-ul.toc li.root {
- font-size: 135%;
- padding: 5px 0px 5px 11px;
- border-bottom: 1px solid #cccccc;
- margin-bottom: 5px;
-}
-
-ul.toc li {
- font-size: 85%;
- margin: 1px 0 1px 1px;
- padding: 1px 0 1px 11px;
- background-repeat: no-repeat;
- background-position: center left;
- list-style-type: circle;
-}
-
-.next {
- float:right;
- text-align: right;
-}
-
-.center {
- text-align: center;
-}
-
-.screen {
- font-family: monospace;
- font-size: 100%;
- background-color:#FFFFFF;
- border-color:#CCCCCC;
- border-style:solid;
- border-width:2px medium;
- width:80%;
- color:#333333;
- line-height:120%;
- padding:10px;
-}
-
-/* Top and bottom navigation controls on manual pages --------------------- */
-div.manualnavbar {
- background-color: #E0E0E0;
- color: inherit;
- padding: 4px;
- margin-bottom: 10px;
-}
-div.manualnavbar .prev {
- padding-right: 4px;
-}
-div.manualnavbar .next {
- text-align: right;
- padding-left: 4px;
-}
-
-div.manualnavbar .top {
- text-align: center;
- display: block;
-}
-
-div.manualnavbar hr {
- color: #cccccc;
- background-color: #cccccc;
-}
-
-/* Footer navigation area ------------------------------------------------- */
-
-#pagefooter {
- position: relative;
- font-size: 75%;
- color: inherit;
- background-color: #e5e5e5;
- width: 100%;
-}
-
-#pagefooterleft {
- top: 0px;
- left: 0px;
- padding: 6px;
- margin-right: 30%;
-}
-
-#pagefooterright {
- text-align: right;
- margin-left: 50%;
- padding: 6px;
-}
-#footnav {
- color: inherit;
- background-color: #9999cc;
- border-width: 1px 0px;
- border-color: #333366;
- border-style: solid;
- text-align: right;
- padding-right: 6px;
-}
-
-
-
-
- #global{
-/* width: 90%; */
- max-width: 90em;
-/* min-width: 850px; */
- margin-left: auto;
- margin-right: auto;
- }
-
- #myHeader{
- background-color:#000000;
- color:white;
- margin-bottom : 10px;
- position : relative;
- text-align: center;
-/* width : 1024px;*/
- height : 100px;
- padding-left : 20px;
- background : url("http://atoms.scilab.org/images/homepage/cadre_head.png");
- background-repeat : no-repeat;
- background-position : 0px 0px;
-
- }
-
- #myFooter{
- background-color:#E5E5E5;
- font-color:black;
-/* width: 90%;*/
- max-width: 90em;
-/* min-width: 850px;
- margin-left: 5%;
- margin-right: 5%;*/
- margin-top:10px;
- padding:10px;
- }
-
- #mainArea{
- width: 100%;
- overflow: hidden;
- }
-
- #myLeftArea{
- color:white;
- float: left;
- width: 180px;
- padding:5px;
- }
-
- #myMiddleArea{
- color:black;
- margin-left: 200px;
- padding: 10px 20px;
- }
-
- #myRightArea{
- color:white;
- float: right;
- width: 200px;
- padding: 12px 20px;
- }
-
-
-div#cadre_head
-{
- position : relative;
- text-align: center;
-/* width : 1024px;*/
- height : 100px;
- padding-left : 20px;
- background : url("/img/cadre_head.png");
- background-repeat : no-repeat;
- background-position : 0px 0px;
-}
-
-
-div#slogan{
- position: absolute;
- top : 50px;
- left:251px;
- color:#0000AA;
- font: 120%, Georgia,Serif;
-}
-div#cadre_help
-{
- position: absolute;
- top:45px;
- right:0px;
- font-size:0.8em;
- color:#0000AA;
-}
-
-table.revhistory
-{
- width:80%;
- border-color:#CCCCCC;
- border-style:solid;
- border-width:2px medium;
- margin-bottom: 10px;
-}
-
-table.revhistory tr.title td
-{
- background-color: #9999CC;
-} \ No newline at end of file
diff --git a/help/en_US/scilab_en_US_help/xml_code.css b/help/en_US/scilab_en_US_help/xml_code.css
deleted file mode 100644
index 9e4c27f..0000000
--- a/help/en_US/scilab_en_US_help/xml_code.css
+++ /dev/null
@@ -1,94 +0,0 @@
-.xmlcomment {
- font-style: italic;
- color: #01a801
-}
-
-.xmldefault {
- font-style: normal;
- color: #000000
-}
-
-.xmlentity {
- font-style: normal;
- color: #ffaa00
-}
-
-.xmlopeninstr {
- font-style: normal;
- color: #000000
-}
-
-.xmlcloseinstr {
- font-style: normal;
- color: #000000
-}
-
-.xmlinstrname {
- font-style: normal;
- color: #9965a6
-}
-
-.xmllowtag {
- font-style: normal;
- color: #000000
-}
-
-.xmltagname {
- font-style: normal;
- color: #0303ff
-}
-
-.xmllowclose {
- font-style: normal;
- color: #000000
-}
-
-.xmlopencomment {
- font-style: italic;
- color: #01a801
-}
-
-.xmlcommentend {
- font-style: italic;
- color: #01a801
-}
-
-.xmlcomment {
- font-style: italic;
- color: #01a801
-}
-
-.xmlopencdata {
- font-style: normal;
- color: #c45555
-}
-
-.xmlcdataend {
- font-style: normal;
- color: #c45555
-}
-
-.xmlcdata {
- font-style: normal;
- color: #000000
-}
-
-.xmlattributename {
- font-style: normal;
- color: #9965a6
-}
-
-.xmlequal {
- font-style: normal;
- color: #000000
-}
-
-.xmlattributevalue {
- font-style: normal;
- color: #973964
-}
-
-.xmlautoclose {
- font-style: normal;
- color: #000000
-}
diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar
deleted file mode 100644
index 45d5c49..0000000
--- a/jar/scilab_en_US_help.jar
+++ /dev/null
Binary files differ
diff --git a/macros/ASTManagement/AST2Ccode.sci b/macros/ASTManagement/AST2Ccode.sci
index 563f313..6fe190e 100644
--- a/macros/ASTManagement/AST2Ccode.sci
+++ b/macros/ASTManagement/AST2Ccode.sci
@@ -145,7 +145,6 @@ while ~meof(fidAST)
[disp_isthere,FileInfo,SharedInfo] = AST_HandleEndGenFun(disp_isthere,FileInfo,SharedInfo,'Operation');
case 'EndFuncall' then
[disp_isthere,FileInfo,SharedInfo] = AST_HandleEndGenFun(disp_isthere,FileInfo,SharedInfo,'Funcall');
- disp(disp_isthere);
// --------------
// --- Equal. ---
@@ -174,7 +173,6 @@ while ~meof(fidAST)
SharedInfo.Equal.Enabled = 1; // 1 means enabled -> we are inside an equal AST block.
AST_PushASTStack(treeline);
case 'Lhs :' then
- disp(disp_isthere);
if rc_count > 0 & cc_count == 0
SharedInfo.Equal.Lhs = 1;
[EqualInArgName,EqualInArgScope,EqualNInArg] = AST_HandleRC(FileInfo,SharedInfo);
diff --git a/macros/ASTManagement/AST_HandleEndGenFun.sci b/macros/ASTManagement/AST_HandleEndGenFun.sci
index 96830aa..41caa2a 100644
--- a/macros/ASTManagement/AST_HandleEndGenFun.sci
+++ b/macros/ASTManagement/AST_HandleEndGenFun.sci
@@ -127,8 +127,10 @@ NOutArg_mod = NOutArg
PrintStringInfo(' ',ReportFileName,'both','y');
error(9999, 'SCI2CERROR: Unexpected number of output arguments for global function.');
end
- elseif(ASTFunName == 'raspi' | ASTFunName == 'raspi_close')
- SharedInfo.SkipNextFun = 1;
+ //To skip the functions for Raspberry Pi connections
+ elseif(ASTFunName == 'raspi' | ASTFunName == 'raspi_close' | ASTFunName == 'i2cdetect')
+ disp_isthere=1; // Skips the corresponding Lhs argument declaration
+ return // Skips the function call
end
// #RNU_RES_B
@@ -142,8 +144,8 @@ NOutArg_mod = NOutArg
if ASTFunName == '%sn'
ASTFunName='modsn';
- end
-
+ end
+
if (ASTFunName == 'OpEqual')
FunTypeAnnot = '';
FunSizeAnnot = '';
diff --git a/macros/ASTManagement/lib b/macros/ASTManagement/lib
deleted file mode 100644
index f34860a..0000000
--- a/macros/ASTManagement/lib
+++ /dev/null
Binary files differ
diff --git a/macros/CCodeGeneration/GetClsFileName.sci b/macros/CCodeGeneration/GetClsFileName.sci
index d92a431..4220410 100644
--- a/macros/CCodeGeneration/GetClsFileName.sci
+++ b/macros/CCodeGeneration/GetClsFileName.sci
@@ -78,7 +78,6 @@ elseif (SCI2Cfileexist(FileInfo.SCI2CLibSCIAnnFun,tmpannfilename))
SCI2CClassName = FL_GetFunctionClass(AnnFileName,SCI2CClassSpecifier,ReportFileName);
SCI2CClassFileName = fullfile(FileInfo.SCI2CLibSCIAnnCls,SCI2CClassName+'.acls');
end
-
if (FlagFoundAnnFile == 0)
[FlagFoundAnnFile,fullpathscifilename] = SCI2CFindFile(FileInfo.UserSciFilesPaths,FunName+'.sci');
if (FlagFoundAnnFile == 0)
diff --git a/macros/CCodeGeneration/lib b/macros/CCodeGeneration/lib
deleted file mode 100644
index 3d4fed1..0000000
--- a/macros/CCodeGeneration/lib
+++ /dev/null
Binary files differ
diff --git a/macros/ErrorMessages/lib b/macros/ErrorMessages/lib
deleted file mode 100644
index ba3b9a5..0000000
--- a/macros/ErrorMessages/lib
+++ /dev/null
Binary files differ
diff --git a/macros/FunctionAnnotation/lib b/macros/FunctionAnnotation/lib
deleted file mode 100644
index 239105c..0000000
--- a/macros/FunctionAnnotation/lib
+++ /dev/null
Binary files differ
diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib
deleted file mode 100644
index 1c722dd..0000000
--- a/macros/FunctionList/lib
+++ /dev/null
Binary files differ
diff --git a/macros/GeneralFunctions/lib b/macros/GeneralFunctions/lib
deleted file mode 100644
index 7586a91..0000000
--- a/macros/GeneralFunctions/lib
+++ /dev/null
Binary files differ
diff --git a/macros/Hardware/AVR/lib b/macros/Hardware/AVR/lib
deleted file mode 100644
index ed4c52b..0000000
--- a/macros/Hardware/AVR/lib
+++ /dev/null
Binary files differ
diff --git a/macros/Hardware/RasberryPi/lib b/macros/Hardware/RasberryPi/lib
deleted file mode 100644
index eec912f..0000000
--- a/macros/Hardware/RasberryPi/lib
+++ /dev/null
Binary files differ
diff --git a/macros/ImageProcessing/core/lib b/macros/ImageProcessing/core/lib
deleted file mode 100644
index 40b7b0a..0000000
--- a/macros/ImageProcessing/core/lib
+++ /dev/null
Binary files differ
diff --git a/macros/ImageProcessing/highgui/lib b/macros/ImageProcessing/highgui/lib
deleted file mode 100644
index 0d7f88a..0000000
--- a/macros/ImageProcessing/highgui/lib
+++ /dev/null
Binary files differ
diff --git a/macros/ImageProcessing/imgproc/lib b/macros/ImageProcessing/imgproc/lib
deleted file mode 100644
index 63b5e7e..0000000
--- a/macros/ImageProcessing/imgproc/lib
+++ /dev/null
Binary files differ
diff --git a/macros/Scilab-Arduino/lib b/macros/Scilab-Arduino/lib
deleted file mode 100644
index a62fd4e..0000000
--- a/macros/Scilab-Arduino/lib
+++ /dev/null
Binary files differ
diff --git a/macros/SymbolTable/lib b/macros/SymbolTable/lib
deleted file mode 100644
index 4379c83..0000000
--- a/macros/SymbolTable/lib
+++ /dev/null
Binary files differ
diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
index 2cf905f..7269e98 100644
--- a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
+++ b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
@@ -5868,6 +5868,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_digitalWriteByte';
@@ -5920,6 +5921,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pwmClock';
@@ -5944,6 +5946,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u320'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pwmRange';
@@ -6000,6 +6003,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_I2CSetup';
@@ -6032,6 +6036,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_I2CRead';
@@ -6088,6 +6093,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_getAlt';
@@ -6124,6 +6130,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160'+ArgSeparator+'u160',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'u160',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_gertboardAnalogRead';
@@ -6148,6 +6155,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80'+ArgSeparator+'g2',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'g2',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_serialGetchar';
@@ -6169,6 +6177,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pinModeAlt';
@@ -6233,6 +6242,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u160'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pwmWrite';
@@ -6265,6 +6275,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u160'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_gertboardAnalogWrite';
@@ -6289,6 +6300,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80g2'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0g2'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pinMode';
@@ -6333,6 +6345,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u320'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_softToneWrite';
@@ -6357,6 +6370,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80i160'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_waitForInterrupt';
@@ -6381,6 +6395,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u160'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_I2CWrite';
@@ -6413,6 +6428,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('g2u320'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('g2d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_serialOpen';
@@ -6437,6 +6453,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u80'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pcf8574Setup';
@@ -6474,6 +6491,7 @@ PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80u80'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_lcdPosition';
@@ -6499,6 +6517,7 @@ PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u160u160'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_I2CWriteReg8';
@@ -6524,6 +6543,7 @@ PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80u80'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_shiftIn';
@@ -6548,6 +6568,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u160u160'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_softPwmCreate';
@@ -6572,6 +6593,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u160u160'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_mcp23s08Setup';
@@ -6600,6 +6622,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80u80u80'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_shiftOut';
@@ -6624,6 +6647,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u80u80u80u80'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0d0d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_sr595Setup';
@@ -6648,6 +6672,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80u80u80u80u80u80u80u80u80'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0d0d0d0d0d0d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_lcdCharDef';
@@ -6672,6 +6697,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80u80u80u80u80u80u80u80u80u80u80u80'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0d0d0d0d0d0d0d0d0d0d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_lcdInit';
diff --git a/macros/ToolInitialization/lib b/macros/ToolInitialization/lib
deleted file mode 100644
index 670a52e..0000000
--- a/macros/ToolInitialization/lib
+++ /dev/null
Binary files differ
diff --git a/macros/cb_sci2c_gui.sci b/macros/cb_sci2c_gui.sci
index 2267c6c..bf77c25 100644
--- a/macros/cb_sci2c_gui.sci
+++ b/macros/cb_sci2c_gui.sci
@@ -200,12 +200,17 @@ elseif get(gcbo, "tag")=="convertbtn" then
// -*- DEBUG ONLY -*-
- //mprintf("UserScilabMainFile = {%s}\n", UserScilabMainFile);
- //mprintf("UserSciFilesPaths = {%s}\n", UserSciFilesPaths);
- //mprintf("UserSciCodeMainDir = {%s}\n", UserSciCodeMainDir);
- //mprintf("RunMode = {%s}\n", RunMode);
- //mprintf("CopySciCodeIntoCCode = {%d}\n", bool2s(CopySciCodeIntoCCode));
- //mprintf("NativeBuild = {%s}\n", NativeBuild);
+ mprintf("UserScilabMainFile = {%s}\n", UserScilabMainFile);
+ mprintf("UserSciFilesPaths = {%s}\n", UserSciFilesPaths);
+ mprintf("UserSciCodeMainDir = {%s}\n", UserSciCodeMainDir);
+ mprintf("RunMode = {%s}\n", RunMode);
+ mprintf("CopySciCodeIntoCCode = {%d}\n", bool2s(CopySciCodeIntoCCode));
+ mprintf("NativeBuild = {%s}\n", NativeBuild);
+ mprintf("Target = {%s}\n", Target);
+ mprintf("Board Name = {%s}\n", Board_name);
+// disp("Variable Names:")
+// disp(UserScilabMainFile, UserSciCodeMainDir, UserSciFilesPaths, RunMode, NativeBuild,Target,Board_name)
+// disp("Done")
scilab2c(UserScilabMainFile, UserSciCodeMainDir, UserSciFilesPaths, RunMode, NativeBuild,Target,Board_name);
//
// --- sci2c help ---
diff --git a/macros/findDeps/lib b/macros/findDeps/lib
deleted file mode 100644
index 88df35f..0000000
--- a/macros/findDeps/lib
+++ /dev/null
Binary files differ
diff --git a/macros/lib b/macros/lib
deleted file mode 100644
index 551263e..0000000
--- a/macros/lib
+++ /dev/null
Binary files differ
diff --git a/macros/sci2c_gui.sci b/macros/sci2c_gui.sci
index bee6fe4..cad8b24 100644
--- a/macros/sci2c_gui.sci
+++ b/macros/sci2c_gui.sci
@@ -216,7 +216,7 @@ outformatlabel = uicontrol("parent", sci2cfig,...
outformatradiostalone = uicontrol("parent", sci2cfig,...
"style", "radiobutton",...
"string", gettext("Stand-alone"),...
- "position",[2*margin+widgetLabelWidth outformaty 2*radiow widgeth],...
+ "position",[2*margin+widgetLabelWidth outformaty 2*radiow-10 widgeth],...
"horizontalalignment", "left",...
"fontname", defaultfont,...
"fontunits", "points",...
@@ -309,7 +309,7 @@ runradiotranslate = uicontrol("parent", sci2cfig,...
runradiogenlib = uicontrol("parent", sci2cfig,...
"style", "radiobutton",...
"string", gettext("Generate library"),...
- "position",[2*margin+widgetLabelWidth+2*radiow runy 120 widgeth],...
+ "position",[2*margin+widgetLabelWidth+2*radiow+20 runy 150 widgeth],...
"horizontalalignment", "left",...
"fontname", defaultfont,...
"fontunits", "points",...
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h
index 096fed0..6b7ed27 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h
@@ -28,6 +28,7 @@ extern "C" {
#define d0d0RPI_digitalWrite(pin,state) u8RPI_digitalWrites(pin,state);
#define u80RPI_digitalWriteByte(value) u8RPI_digitalWriteBytes(value);
+#define d0RPI_digitalWriteByte(value) u8RPI_digitalWriteBytes(value);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h
index cea8bb6..e258068 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h
@@ -21,9 +21,15 @@ extern "C" {
#endif
#define RPI_gertboardSPISetupi80() RPI_gertboardSPISetup();
+
#define u160RPI_gertboardAnalogSetupi80(pinBase) u16RPI_gertboardAnalogSetups(pinBase);
+#define d0RPI_gertboardAnalogSetupi80(pinBase) u16RPI_gertboardAnalogSetups(pinBase);
+
#define u160RPI_gertboardAnalogReadu160(pin) u160RPI_gertboardAnalogReads(pin);
+#define d0RPI_gertboardAnalogReadu160(pin) u160RPI_gertboardAnalogReads(pin);
+
#define u160u160RPI_gertboardAnalogWrite(pin,value) u160RPI_gertboardAnalogWrites(pin,value);
+#define d0d0RPI_gertboardAnalogWrite(pin,value) u160RPI_gertboardAnalogWrites(pin,value);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralI2C.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralI2C.h
index f18fd57..b93529e 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralI2C.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralI2C.h
@@ -21,12 +21,25 @@ extern "C" {
#endif
#define u160RPI_I2CSetupi80(arrd) u16RPI_I2CSetups(arrd);
+#define d0RPI_I2CSetupi80(arrd) u16RPI_I2CSetups(arrd);
+
#define u160RPI_I2CReadi80(fd) u16RPI_I2CReads(fd);
+#define d0RPI_I2CReadi80(fd) u16RPI_I2CReads(fd);
+
#define u160u160RPI_I2CReadReg8i80(fd,reg) u16RPI_I2CReadReg8s(fd,reg);
+#define d0d0RPI_I2CReadReg8i80(fd,reg) u16RPI_I2CReadReg8s(fd,reg);
+
#define u160u160RPI_I2CReadReg16i80(fd,reg) u16RPI_I2CReadReg16s(fd,reg);
+#define d0d0RPI_I2CReadReg16i80(fd,reg) u16RPI_I2CReadReg16s(fd,reg);
+
#define u160u160RPI_I2CWritei80(fd,data) u16RPI_I2CWrites(fd,data);
+#define d0d0RPI_I2CWritei80(fd,data) u16RPI_I2CWrites(fd,data);
+
#define u160u160u160RPI_I2CWriteReg8i80(fd,reg,data) u16RPI_I2CWriteReg8s(fd,reg,data);
+#define d0d0d0RPI_I2CWriteReg8i80(fd,reg,data) u16RPI_I2CWriteReg8s(fd,reg,data);
+
#define u160u160u160RPI_I2CWriteReg16i80(fd,reg,data) u16RPI_I2CWriteReg16s(fd,reg,data);
+#define d0d0d0RPI_I2CWriteReg16i80(fd,reg,data) u16RPI_I2CWriteReg16s(fd,reg,data);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD.h
index e4f3ca2..e6dcb7d 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD.h
@@ -21,17 +21,40 @@ extern "C" {
#endif
#define u80u80u80u80u80u80u80u80u80u80RPI_lcdCharDef(fd,index,d0,d1,d2,d3,d4,d5,d6,d7) u8RPI_lcdCharDefs(fd,index,d0,d1,d2,d3,d4,d5,d6,d7);
+#define d0d0d0d0d0d0d0d0d0d0RPI_lcdCharDef(fd,index,d0,d1,d2,d3,d4,d5,d6,d7) u8RPI_lcdCharDefs(fd,index,d0,d1,d2,d3,d4,d5,d6,d7);
+
#define u80RPI_lcdClear(fd) u8RPI_lcdClears(fd);
+#define d0RPI_lcdClear(fd) u8RPI_lcdClears(fd);
+
#define u80u80RPI_lcdCursorBlink(fd,state) u8RPI_lcdCursorBlinks(fd,state);
+#define d0d0RPI_lcdCursorBlink(fd,state) u8RPI_lcdCursorBlinks(fd,state);
+
#define u80u80RPI_lcdCursor(fd,state) u8RPI_lcdCursors(fd,state);
+#define d0d0RPI_lcdCursor(fd,state) u8RPI_lcdCursors(fd,state);
+
#define u80u80RPI_lcdDisplay(fd,state) u8RPI_lcdDisplays(fd,state);
+#define d0d0RPI_lcdDisplay(fd,state) u8RPI_lcdDisplays(fd,state);
+
#define u80RPI_lcdHome(fd) u8RPI_lcdHomes(fd);
+#define d0RPI_lcdHome(fd) u8RPI_lcdHomes(fd);
+
#define u80u80u80u80u80u80u80u80u80u80u80u80u80RPI_lcdIniti80(rows,cols,bits,rs,strb,d0,d1,d2,d3,d4,d5,d6,d7) u8RPI_lcdInits(rows,cols,bits,rs,strb,d0,d1,d2,d3,d4,d5,d6,d7);
+#define d0d0d0d0d0d0d0d0d0d0d0d0d0RPI_lcdIniti80(rows,cols,bits,rs,strb,d0,d1,d2,d3,d4,d5,d6,d7) u8RPI_lcdInits(rows,cols,bits,rs,strb,d0,d1,d2,d3,d4,d5,d6,d7);
+
#define u80u80u80RPI_lcdPosition(fd,row,col) u8RPI_lcdPositions(fd,row,col);
+#define d0d0d0RPI_lcdPosition(fd,row,col) u8RPI_lcdPositions(fd,row,col);
+
#define u80u80RPI_lcdPutchar(fd,char) u8RPI_lcdPutchars(fd,char);
+#define d0d0RPI_lcdPutchar(fd,char) u8RPI_lcdPutchars(fd,char);
+
#define u80u80RPI_lcdSendCommand(fd,cmd) u8RPI_lcdSendCommands(fd,cmd);
+#define d0d0RPI_lcdSendCommand(fd,cmd) u8RPI_lcdSendCommands(fd,cmd);
+
#define u80g2RPI_lcdPuts(fd,msg,size) u8RPI_lcdPutss(fd,msg,size[1]);;
+#define d0g2RPI_lcdPuts(fd,msg,size) u8RPI_lcdPutss(fd,msg,size[1]);;
+
#define u80g2RPI_lcdPrintf(fd,data,size) u8RPI_lcdPrintfs(fd,data,size[1]);
+#define d0g2RPI_lcdPrintf(fd,data,size) u8RPI_lcdPrintfs(fd,data,size[1]);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD128x64.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD128x64.h
index 46b6328..77cc433 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD128x64.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralLCD128x64.h
@@ -38,8 +38,10 @@ extern "C" {
#define u80u80u80u80u80RPI_lcd128x64line(x0,y0,x1,y1,colour) u8RPI_lcd128x64lines(x0,y0,x1,y1,colour);
#define d0d0d0d0d0RPI_lcd128x64line(x0,y0,x1,y1,colour) u8RPI_lcd128x64lines(x0,y0,x1,y1,colour);
+
#define u80u80u80u80u80RPI_lcd128x64circle(x,y,r,colour,filled) u8RPI_lcd128x64circles(x,y,r,colour,filled);
#define d0d0d0d0d0RPI_lcd128x64circle(x,y,r,colour,filled) u8RPI_lcd128x64circles(x,y,r,colour,filled);
+
#define u80u80u80u80u80RPI_lcd128x64putchar(x,y,c,bgCol,fgCol) u8RPI_lcd128x64putchars(x,y,c,bgCol,fgCol);
#define d0d0d0d0u80RPI_lcd128x64putchar(x,y,c,bgCol,fgCol) u8RPI_lcd128x64putchars(x,y,c,bgCol,fgCol);
@@ -48,6 +50,7 @@ extern "C" {
#define u80u80u80u80u80u80RPI_lcd128x64rectangle(x1,y1,x2,y2,colour,filled) u8RPI_lcd128x64rectangles(x1,y1,x2,y2,colour,filled);
#define d0d0d0d0d0d0RPI_lcd128x64rectangle(x1,y1,x2,y2,colour,filled) u8RPI_lcd128x64rectangles(x1,y1,x2,y2,colour,filled);
+
#define u80u80u80u80u80u80RPI_lcd128x64ellipse(cx,cy,xRadius,yRadius,colour,filled) u8RPI_lcd128x64ellipses(cx,cy,xRadius,yRadius,colour,filled);
#define d0d0d0d0d0d0RPI_lcd128x64ellipse(cx,cy,xRadius,yRadius,colour,filled) u8RPI_lcd128x64ellipses(cx,cy,xRadius,yRadius,colour,filled);
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h
index c044cf7..7857b3a 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h
@@ -21,10 +21,19 @@ extern "C" {
#endif
#define u160u80RPI_mcp23008Setupu80(pinBase,addr) u16RPI_mcp23008Setups(pinBase,addr);
+#define d0d0RPI_mcp23008Setupu80(pinBase,addr) u16RPI_mcp23008Setups(pinBase,addr);
+
#define u160u80RPI_mcp23016Setupu80(pinBase,addr) u16RPI_mcp23016Setups(pinBase,addr);
+#define d0d0RPI_mcp23016Setupu80(pinBase,addr) u16RPI_mcp23016Setups(pinBase,addr);
+
#define u160u80RPI_mcp23017Setupu80(pinBase,addr) u16RPI_mcp23017Setups(pinBase,addr);
+#define d0d0RPI_mcp23017Setupu80(pinBase,addr) u16RPI_mcp23017Setups(pinBase,addr);
+
#define u160u80u80RPI_mcp23s08Setupu80(pinBase,spiport,devId) u16RPI_mcp23s08Setups(pinBase,spiport,devId);
+#define d0d0d0RPI_mcp23s08Setupu80(pinBase,spiport,devId) u16RPI_mcp23s08Setups(pinBase,spiport,devId);
+
#define u160u80u80RPI_mcp23s17Setupu80(pinBase,spiport,devId) u16RPI_mcp23s17Setups(pinBase,spiport,devId);
+#define d0d0d0RPI_mcp23s17Setupu80(pinBase,spiport,devId) u16RPI_mcp23s17Setups(pinBase,spiport,devId);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMisc.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMisc.h
index b836d68..de065a2 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMisc.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMisc.h
@@ -21,8 +21,12 @@ extern "C" {
#endif
#define RPI_boardRevu80() RPI_boardRev();
+
#define u80u80RPI_padDrive(group,strength) u8RPI_padDrives(group,strength);
+#define d0d0RPI_padDrive(group,strength) u8RPI_padDrives(group,strength);
+
#define u160RPI_sn3218Setupi80(pinBase) u16RPI_sn3218Setups(pinBase);
+#define d0RPI_sn3218Setupi80(pinBase) u16RPI_sn3218Setups(pinBase);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h
index 49c58c0..fd1a1b0 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h
@@ -21,10 +21,18 @@ extern "C" {
#endif
#define u80u160RPI_pwmWrite(pin,value) u8RPI_pwmWrites(pin,value);
+#define d0d0RPI_pwmWrite(pin,value) u8RPI_pwmWrites(pin,value);
+
#define u320RPI_pwmRange(value) u32RPI_pwmRanges(value);
+#define d0RPI_pwmRange(value) u32RPI_pwmRanges(value);
+
#define g2RPI_pwmMode(mode) gRPI_pwmModea(mode);
+
#define u160RPI_pwmClock(divisor) u16RPI_pwmClocks(divisor);
+#define d0RPI_pwmClock(divisor) u16RPI_pwmClocks(divisor);
+
#define u80u160RPI_pwmToneWrite(pin,value) u8RPI_pwmToneWrites(pin,value);
+#define d0d0RPI_pwmToneWrite(pin,value) u8RPI_pwmToneWrites(pin,value);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPcf.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPcf.h
index e3d2009..3d0cb27 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPcf.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPcf.h
@@ -21,7 +21,10 @@ extern "C" {
#endif
#define u160u80RPI_pcf8574Setupu80(pinBase,addr) u16RPI_pcf8574Setups(pinBase,addr);
+#define d0d0RPI_pcf8574Setupu80(pinBase,addr) u16RPI_pcf8574Setups(pinBase,addr);
+
#define u160u80RPI_pcf8591Setupu80(pinBase,addr) u16RPI_pcf8591Setups(pinBase,addr);
+#define d0d0RPI_pcf8591Setupu80(pinBase,addr) u16RPI_pcf8591Setups(pinBase,addr);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPiGlow.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPiGlow.h
index 08056f9..8e268f6 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPiGlow.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPiGlow.h
@@ -21,9 +21,16 @@ extern "C" {
#endif
#define u80RPI_piGlowSetup(clear) u8RPI_piGlowSetups(clear);
+#define d0RPI_piGlowSetup(clear) u8RPI_piGlowSetups(clear);
+
#define u80u80u80RPI_piGlow1(leg,ring,intensity) u8RPI_piGlow1s(leg,ring,intensity);
+#define d0d0d0RPI_piGlow1(leg,ring,intensity) u8RPI_piGlow1s(leg,ring,intensity);
+
#define u80u80RPI_piGlowLeg(leg,intensity) u8RPI_piGlowLegs(leg,intensity);
+#define d0d0RPI_piGlowLeg(leg,intensity) u8RPI_piGlowLegs(leg,intensity);
+
#define u80u80RPI_piGlowRing(ring,intensity) u8RPI_piGlowRings(ring,intensity);
+#define d0d0RPI_piGlowRing(ring,intensity) u8RPI_piGlowRings(ring,intensity);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPinMap.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPinMap.h
index 39c5c01..8de0dc2 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPinMap.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPinMap.h
@@ -21,7 +21,10 @@ extern "C" {
#endif
#define u80RPI_physToGpioi80(pin) u8RPI_physToGpios(pin);
+#define d0RPI_physToGpioi80(pin) u8RPI_physToGpios(pin);
+
#define u80RPI_wpiToGpioi80(pin) u8RPI_wpiToGpios(pin);
+#define d0RPI_wpiToGpioi80(pin) u8RPI_wpiToGpios(pin);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSerial.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSerial.h
index e0832f9..b308d83 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSerial.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSerial.h
@@ -21,13 +21,28 @@ extern "C" {
#endif
#define g2u320RPI_serialOpeni80(device,size,baud) gRPI_serialOpena(device,size[1],baud);
+#define g2d0RPI_serialOpeni80(device,size,baud) gRPI_serialOpena(device,size[1],baud);
+
#define u80RPI_serialClose(fd) u8RPI_serialCloses(fd);
+#define d0RPI_serialClose(fd) u8RPI_serialCloses(fd);
+
#define u80RPI_serialDataAvailu80(fd) u8RPI_serialDataAvails(fd);
+#define d0RPI_serialDataAvailu80(fd) u8RPI_serialDataAvails(fd);
+
#define u80RPI_serialFlush(fd) u8RPI_serialFlushs(fd);
+#define d0RPI_serialFlush(fd) u8RPI_serialFlushs(fd);
+
#define u80RPI_serialGetcharg2(fd,out) u8RPI_serialGetchars(fd,out);
+#define d0RPI_serialGetcharg2(fd,out) u8RPI_serialGetchars(fd,out);
+
#define u80g2RPI_serialPrintf(fd,msg,size) u8RPI_serialPrintfs(fd,msg,size[1]);
+#define d0g2RPI_serialPrintf(fd,msg,size) u8RPI_serialPrintfs(fd,msg,size[1]);
+
#define u80u80RPI_serialPutchar(fd,character) u8RPI_serialPutchars(fd,character);
+#define d0d0RPI_serialPutchar(fd,character) u8RPI_serialPutchars(fd,character);
+
#define u80g2RPI_serialPutsg2(fd,character,size) u8RPI_serialPutss(fd,character,size[1]);
+#define d0g2RPI_serialPutsg2(fd,character,size) u8RPI_serialPutss(fd,character,size[1]);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h
index bd82702..6bcb163 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h
@@ -23,18 +23,12 @@ extern "C" {
#define g2RPI_pinNumberingi80(seq,size) gRPI_pinNumberinga(seq,size[1]);
//getAlt
#define u80RPI_getAltu80(pin) u8RPI_getAlts(pin);
-#define u160RPI_getAltu80(pin) u8RPI_getAlts(pin);
-#define u320RPI_getAltu80(pin) u8RPI_getAlts(pin);
#define d0RPI_getAltu80(pin) u8RPI_getAlts(pin);
//pinModeAlt
#define u80u80RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode);
-#define u160u160RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode);
-#define u320u320RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode);
#define d0d0RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode);
//pinMode
#define u80g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]);
-#define u160g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]);
-#define u320g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]);
#define d0g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]);
//pullControl
#define u80g2RPI_pullControl(pin,mode,size) u8RPI_pullControls(pin,mode,size[1]);
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
index 6b142bd..7b70ce9 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
@@ -21,8 +21,13 @@ extern "C" {
#endif
#define u80u80u80RPI_shiftInu80(dpin,cpin,order) u8RPI_shiftIns(dpin,cpin,order);
+#define d0d0d0RPI_shiftInu80(dpin,cpin,order) u8RPI_shiftIns(dpin,cpin,order);
+
#define u80u80u80u80RPI_shiftOut(dpin,cpin,order,val) u8RPI_shiftOuts(dpin,cpin,order,val);
+#define d0d0d0d0RPI_shiftOut(dpin,cpin,order,val) u8RPI_shiftOuts(dpin,cpin,order,val);
+
#define u160u80u80u80u80RPI_sr595Setupi80(pinBase,nPins,dP,cP,lP) u16RPI_sr595Setups(pinBase,nPins,dP,cP,lP);
+#define d0d0d0d0d0RPI_sr595Setupi80(pinBase,nPins,dP,cP,lP) u16RPI_sr595Setups(pinBase,nPins,dP,cP,lP);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSoft.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSoft.h
index 80372b2..646c524 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSoft.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSoft.h
@@ -21,11 +21,22 @@ extern "C" {
#endif
#define u80u160u160RPI_softPwmCreateu80(pin,ival,range) u8RPI_softPwmCreates(pin,ival,range);
+#define d0d0d0RPI_softPwmCreateu80(pin,ival,range) u8RPI_softPwmCreates(pin,ival,range);
+
#define u80RPI_softPwmStop(pin) u8RPI_softPwmStops(pin);
+#define d0RPI_softPwmStop(pin) u8RPI_softPwmStops(pin);
+
#define u80u160RPI_softPwmWrite(pin,value) u8RPI_softPwmWrites(pin,value);
+#define d0d0RPI_softPwmWrite(pin,value) u8RPI_softPwmWrites(pin,value);
+
#define u80RPI_softToneCreateu80(pin) u8RPI_softToneCreates(pin);
+#define d0RPI_softToneCreateu80(pin) u8RPI_softToneCreates(pin);
+
#define u80RPI_softToneStop(pin) u8RPI_softToneStops(pin);
+#define d0RPI_softToneStop(pin) u8RPI_softToneStops(pin);
+
#define u80u320RPI_softToneWrite(pin,value) u8RPI_softToneWrites(pin,value);
+#define d0d0RPI_softToneWrite(pin,value) u8RPI_softToneWrites(pin,value);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h
index d2fae23..cbbb47a 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h
@@ -24,6 +24,8 @@ extern "C" {
#define d0RPI_delay(time) u32RPI_delays(time);
#define u320RPI_delayMicro(time) u32RPI_delayMicros(time);
+#define d0RPI_delayMicro(time) u32RPI_delayMicros(time);
+
#define RPI_millisu320() RPI_millis();
#define RPI_microsu320() RPI_micros();
diff --git a/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c b/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c
index fe1b8cd..3fe0c82 100644
--- a/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c
+++ b/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c
@@ -12,6 +12,6 @@
#include "RPIPeripheralPWM.h"
-void u8RPI_pwmToneWrites(uint8 pin, uint16 value){
- pwmToneWrite(pin, value);
+void u8RPI_pwmToneWrites(uint8 pin,uint16 freq){
+ pwmToneWrite(pin,freq);
}