summaryrefslogtreecommitdiff
path: root/src/c/scilab-arduino
diff options
context:
space:
mode:
authorsiddhu89902015-09-10 22:51:03 +0530
committersiddhu89902015-09-10 22:51:03 +0530
commit9f6b12fae887eb141b6afd0fc56c7367c82efb70 (patch)
tree769db8926a369e50c0351096c730fe847b5cccb6 /src/c/scilab-arduino
parent895d4d14a2b7e71435c4257cbd4f2253550a0b82 (diff)
downloadScilab2C_fossee_old-9f6b12fae887eb141b6afd0fc56c7367c82efb70.tar.gz
Scilab2C_fossee_old-9f6b12fae887eb141b6afd0fc56c7367c82efb70.tar.bz2
Scilab2C_fossee_old-9f6b12fae887eb141b6afd0fc56c7367c82efb70.zip
Arduino digital and analog out working
Diffstat (limited to 'src/c/scilab-arduino')
-rw-r--r--src/c/scilab-arduino/includes/cmd_analog_in.h1
-rw-r--r--src/c/scilab-arduino/includes/cmd_analog_out.h1
-rw-r--r--src/c/scilab-arduino/includes/cmd_digital_in.h1
-rw-r--r--src/c/scilab-arduino/includes/cmd_digital_out.h1
-rw-r--r--src/c/scilab-arduino/includes/sleep.h1
-rw-r--r--src/c/scilab-arduino/interfaces/int_cmd_analog_out.h2
6 files changed, 6 insertions, 1 deletions
diff --git a/src/c/scilab-arduino/includes/cmd_analog_in.h b/src/c/scilab-arduino/includes/cmd_analog_in.h
index 5361fe8..4478fb0 100644
--- a/src/c/scilab-arduino/includes/cmd_analog_in.h
+++ b/src/c/scilab-arduino/includes/cmd_analog_in.h
@@ -15,6 +15,7 @@
#define __CMD_ANALOG_IN_H__
#include "types.h"
+#include "Arduino.h"
#ifdef __cplusplus
extern "C" {
diff --git a/src/c/scilab-arduino/includes/cmd_analog_out.h b/src/c/scilab-arduino/includes/cmd_analog_out.h
index d7fca53..e75c5a6 100644
--- a/src/c/scilab-arduino/includes/cmd_analog_out.h
+++ b/src/c/scilab-arduino/includes/cmd_analog_out.h
@@ -15,6 +15,7 @@
#define __CMD_ANALOG_OUT_H__
#include "types.h"
+#include "Arduino.h"
#ifdef __cplusplus
extern "C" {
diff --git a/src/c/scilab-arduino/includes/cmd_digital_in.h b/src/c/scilab-arduino/includes/cmd_digital_in.h
index 96fd24b..9e809aa 100644
--- a/src/c/scilab-arduino/includes/cmd_digital_in.h
+++ b/src/c/scilab-arduino/includes/cmd_digital_in.h
@@ -15,6 +15,7 @@
#define __CMD_DIGITAL_IN_H__
#include "types.h"
+#include "Arduino.h"
#ifdef __cplusplus
extern "C" {
diff --git a/src/c/scilab-arduino/includes/cmd_digital_out.h b/src/c/scilab-arduino/includes/cmd_digital_out.h
index ee459d1..49739b0 100644
--- a/src/c/scilab-arduino/includes/cmd_digital_out.h
+++ b/src/c/scilab-arduino/includes/cmd_digital_out.h
@@ -15,6 +15,7 @@
#define __CMD_DIGITAL_OUT_H__
#include "types.h"
+#include "Arduino.h"
#ifdef __cplusplus
extern "C" {
diff --git a/src/c/scilab-arduino/includes/sleep.h b/src/c/scilab-arduino/includes/sleep.h
index 2e2940a..cde2716 100644
--- a/src/c/scilab-arduino/includes/sleep.h
+++ b/src/c/scilab-arduino/includes/sleep.h
@@ -15,6 +15,7 @@
#define __SLEEP_H__
#include "types.h"
+#include "Arduino.h"
#ifdef __cplusplus
extern "C" {
diff --git a/src/c/scilab-arduino/interfaces/int_cmd_analog_out.h b/src/c/scilab-arduino/interfaces/int_cmd_analog_out.h
index d6b16f8..09f5c6e 100644
--- a/src/c/scilab-arduino/interfaces/int_cmd_analog_out.h
+++ b/src/c/scilab-arduino/interfaces/int_cmd_analog_out.h
@@ -20,7 +20,7 @@
extern "C" {
#endif
-#define d0d0d0cmd_digital_outu80(in1,in2,in3) u8cmd_analog_outs((uint8)in1,\
+#define d0d0d0cmd_analog_outu80(in1,in2,in3) u8cmd_analog_outs((uint8)in1,\
(uint8)in2,(uint8)in3)
#ifdef __cplusplus