summaryrefslogtreecommitdiff
path: root/src/c/scilab-arduino/default_files/sci2c_arduino.ino
diff options
context:
space:
mode:
authorsiddhu89902015-12-17 14:48:36 +0530
committersiddhu89902015-12-17 14:48:36 +0530
commit4e3eef82b0aa598761e087925fabe835496ab3bc (patch)
tree5b046acee2453c83fc1d776221373c3992147e7a /src/c/scilab-arduino/default_files/sci2c_arduino.ino
parent96b51a5ded447676d493be9721e4480065a5ae7e (diff)
downloadScilab2C_fossee_old-4e3eef82b0aa598761e087925fabe835496ab3bc.tar.gz
Scilab2C_fossee_old-4e3eef82b0aa598761e087925fabe835496ab3bc.tar.bz2
Scilab2C_fossee_old-4e3eef82b0aa598761e087925fabe835496ab3bc.zip
Code generation for Arduino changed. DC motor added to Arduino
Diffstat (limited to 'src/c/scilab-arduino/default_files/sci2c_arduino.ino')
-rw-r--r--src/c/scilab-arduino/default_files/sci2c_arduino.ino4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/c/scilab-arduino/default_files/sci2c_arduino.ino b/src/c/scilab-arduino/default_files/sci2c_arduino.ino
index 9e9d9b6..2b30456 100644
--- a/src/c/scilab-arduino/default_files/sci2c_arduino.ino
+++ b/src/c/scilab-arduino/default_files/sci2c_arduino.ino
@@ -1,11 +1,13 @@
#include "Arduino.h"
#include <loop_arduino.h>
+#include <setup_arduino.h>
void setup()
{
//Please write appropriate setup functions here.
+ setup_arduino();
}
-int i = 0;
+
void loop()
{
loop_arduino();