'if' problem
hi in arduino area. new world , handyman facinated this.
*first of there complete guide learning arduino programming?
now point. have issue (i want control esc):
if (signal1 = high); {
servo1.write(70);
}
else {
servo.write(defpos); //defpos set @ 40 degrees
}
and error @ else part ('else' without previous 'if')
if it's answered plese redirect post.
thanks in advance mike
*first of there complete guide learning arduino programming?
now point. have issue (i want control esc):
if (signal1 = high); {
servo1.write(70);
}
else {
servo.write(defpos); //defpos set @ 40 degrees
}
and error @ else part ('else' without previous 'if')
if it's answered plese redirect post.
thanks in advance mike
there should no semicolon @ end of if.
also, want ==
also, want ==
Arduino Forum > Using Arduino > Programming Questions > 'if' problem
arduino
Comments
Post a Comment