summaryrefslogtreecommitdiff
path: root/src/c/scilab-arduino/sleep/u16sleeps.c
diff options
context:
space:
mode:
authorsiddhu89902015-09-07 23:06:39 +0530
committersiddhu89902015-09-07 23:06:39 +0530
commit895d4d14a2b7e71435c4257cbd4f2253550a0b82 (patch)
treeaa7fc22b1b4e4dc1c9229389457317777e759dbb /src/c/scilab-arduino/sleep/u16sleeps.c
parenta6bf6562c74bb0117cc2f59f34cf49a24b6cb6b9 (diff)
parent0bdaec9811b3e463514393aa1d3da6c3a96891a1 (diff)
downloadScilab2C_fossee_old-895d4d14a2b7e71435c4257cbd4f2253550a0b82.tar.gz
Scilab2C_fossee_old-895d4d14a2b7e71435c4257cbd4f2253550a0b82.tar.bz2
Scilab2C_fossee_old-895d4d14a2b7e71435c4257cbd4f2253550a0b82.zip
Scilab to arduino conversion working with some tweaks
Diffstat (limited to 'src/c/scilab-arduino/sleep/u16sleeps.c')
-rw-r--r--src/c/scilab-arduino/sleep/u16sleeps.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/c/scilab-arduino/sleep/u16sleeps.c b/src/c/scilab-arduino/sleep/u16sleeps.c
new file mode 100644
index 0000000..14da0ba
--- /dev/null
+++ b/src/c/scilab-arduino/sleep/u16sleeps.c
@@ -0,0 +1,20 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Arnaud TORSET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "sleep.h"
+
+uint8 u16sleeps(uint16 delay_ms)
+{
+ delay(delay_ms);
+ return 0;
+}
+