Author Options:

Command to count up Int.? Answered

Im wondering the difference between the "for" loop you have here and the "for" loop in the arduino info page. You use "ServoPosition += 1" to count up the interger, while the tutorials say "ServoPosition ++" . Is there a difference between the two, or would using ++ do the same thing?

1 Replies

randofoBest Answer (author)2017-08-15

They essentially do the same thing. There are often many ways to code the same thing with Arduino.



Select as Best AnswerUndo Best Answer