Hello,
I have bought a Mini Maestro 24-channel Servo Controller and trying to program it through Pololu Maestro Controller. I have just saved the positions of the servo motors as frames then copied all sequences to script. Afterwards I added a small script to call these subroutines. My code is given below:
begin
sub Sequence_0
repeat
### Sequence subroutines: ###
# Sequence 0
sub Sequence_0
500 0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 4085
0 0 0 0 0 0 frame_0..23 # Frame 0
2000 5592 frame_17 # Frame 1
return
sub frame_0..23
23 servo
22 servo
21 servo
20 servo
19 servo
18 servo
17 servo
16 servo
15 servo
14 servo
13 servo
12 servo
11 servo
10 servo
9 servo
8 servo
7 servo
6 servo
5 servo
4 servo
3 servo
2 servo
1 servo
0 servo
delay
return
sub frame_17
17 servo
delay
return
However when I push “Apply Settings” I get and error as: “Found REPEAT without a corresponding BEGIN”
Although I already wrote “begin” at start. Can you tell me whats the problem here. Thanks for the help already and sorry for bad english