diff options
Diffstat (limited to 'src/c')
-rw-r--r-- | src/c/matrixOperations/cat/ccata.c | 2 | ||||
-rw-r--r-- | src/c/matrixOperations/cat/zcata.c | 2 | ||||
-rw-r--r-- | src/c/scilab-arduino/default_files/Makefile | 10 | ||||
-rw-r--r-- | src/c/scilab-arduino/default_files/sci2c_arduino.ino | 12 |
4 files changed, 24 insertions, 2 deletions
diff --git a/src/c/matrixOperations/cat/ccata.c b/src/c/matrixOperations/cat/ccata.c index cd2b4c9..88106a8 100644 --- a/src/c/matrixOperations/cat/ccata.c +++ b/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/src/c/matrixOperations/cat/zcata.c b/src/c/matrixOperations/cat/zcata.c index 485553d..30d50ee 100644 --- a/src/c/matrixOperations/cat/zcata.c +++ b/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/src/c/scilab-arduino/default_files/Makefile b/src/c/scilab-arduino/default_files/Makefile new file mode 100644 index 0000000..7d74195 --- /dev/null +++ b/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/src/c/scilab-arduino/default_files/sci2c_arduino.ino b/src/c/scilab-arduino/default_files/sci2c_arduino.ino new file mode 100644 index 0000000..9e9d9b6 --- /dev/null +++ b/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(); +} |