summaryrefslogtreecommitdiff
path: root/2.3-1/src
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src')
-rw-r--r--2.3-1/src/c/matrixOperations/cat/ccata.c2
-rw-r--r--2.3-1/src/c/matrixOperations/cat/zcata.c2
-rw-r--r--2.3-1/src/c/scilab-arduino/default_files/Makefile10
-rw-r--r--2.3-1/src/c/scilab-arduino/default_files/sci2c_arduino.ino12
4 files changed, 24 insertions, 2 deletions
diff --git a/2.3-1/src/c/matrixOperations/cat/ccata.c b/2.3-1/src/c/matrixOperations/cat/ccata.c
index cd2b4c92..88106a87 100644
--- a/2.3-1/src/c/matrixOperations/cat/ccata.c
+++ b/2.3-1/src/c/matrixOperations/cat/ccata.c
@@ -26,7 +26,7 @@ void crowcata(floatComplex *in1, int lines1, int columns1, floatComplex *in2, i
{
for (j = 0 ; j < lines1 ; ++j)
{
- out[i*(lines1 + lines2) + j] = in1[i*lines1 + j];
+ //out[i*(lines1 + lines2) + j] = in1[i*lines1 + j];
}
for (j = 0 ; j < lines2 ; ++j)
{
diff --git a/2.3-1/src/c/matrixOperations/cat/zcata.c b/2.3-1/src/c/matrixOperations/cat/zcata.c
index 485553d7..30d50eea 100644
--- a/2.3-1/src/c/matrixOperations/cat/zcata.c
+++ b/2.3-1/src/c/matrixOperations/cat/zcata.c
@@ -26,7 +26,7 @@ void zrowcata(doubleComplex *in1, int lines1, int columns1, doubleComplex *in2,
{
for (j = 0 ; j < lines1 ; ++j)
{
- out[i*(lines1 + lines2) + j] = in1[i*lines1 + j];
+ //out[i*(lines1 + lines2) + j] = in1[i*lines1 + j];
}
for (j = 0 ; j < lines2 ; ++j)
{
diff --git a/2.3-1/src/c/scilab-arduino/default_files/Makefile b/2.3-1/src/c/scilab-arduino/default_files/Makefile
new file mode 100644
index 00000000..7d74195e
--- /dev/null
+++ b/2.3-1/src/c/scilab-arduino/default_files/Makefile
@@ -0,0 +1,10 @@
+# Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile
+
+ARDUINO_DIR = /usr/share/arduino
+ARDMK_DIR = /usr/share/arduino
+AVR_TOOLS_DIR = /usr
+BOARD_TAG = atmega328
+USER_LIB_PATH = ../../
+ARDUINO_LIBS = src/c includes interfaces ../Temp
+ARDUINO_PORT = /dev/ttyUSB0
+include /usr/share/arduino/Arduino.mk
diff --git a/2.3-1/src/c/scilab-arduino/default_files/sci2c_arduino.ino b/2.3-1/src/c/scilab-arduino/default_files/sci2c_arduino.ino
new file mode 100644
index 00000000..9e9d9b6e
--- /dev/null
+++ b/2.3-1/src/c/scilab-arduino/default_files/sci2c_arduino.ino
@@ -0,0 +1,12 @@
+#include "Arduino.h"
+#include <loop_arduino.h>
+
+void setup()
+{
+ //Please write appropriate setup functions here.
+}
+int i = 0;
+void loop()
+{
+ loop_arduino();
+}