summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/scilab-arduino/cmd_servo_move
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/scilab-arduino/cmd_servo_move')
-rw-r--r--2.3-1/src/c/scilab-arduino/cmd_servo_move/u8cmd_servo_moves.cpp (renamed from 2.3-1/src/c/scilab-arduino/cmd_servo_move/u8cmd_servo_move.cpp)3
1 files changed, 1 insertions, 2 deletions
diff --git a/2.3-1/src/c/scilab-arduino/cmd_servo_move/u8cmd_servo_move.cpp b/2.3-1/src/c/scilab-arduino/cmd_servo_move/u8cmd_servo_moves.cpp
index e8874766..94f35639 100644
--- a/2.3-1/src/c/scilab-arduino/cmd_servo_move/u8cmd_servo_move.cpp
+++ b/2.3-1/src/c/scilab-arduino/cmd_servo_move/u8cmd_servo_moves.cpp
@@ -6,7 +6,7 @@
#include "Arduino.h"
#include<Servo.h>
Servo servo1,servo2;
-uint8 u8cmd_servo_move(uint8 h,uint8 servo_no,uint8 val)
+void u8cmd_servo_move(uint8 h,uint8 servo_no,uint8 val)
{
// h -> Board no. reserve for future use
// servo_no -> pin no.(9 and 10).
@@ -22,6 +22,5 @@ uint8 u8cmd_servo_move(uint8 h,uint8 servo_no,uint8 val)
servo2.write(val);
}
}
- return 0;
}