'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

there should no semicolon @ end of if.
also, want ==


Arduino Forum > Using Arduino > Programming Questions > 'if' problem


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support