83Views2Replies

Author Options:

What is != in arduino programming? Answered

I found it in the DC motor test example from Adafruit Motorshield library.

The line goes like this:

void loop() {
  uint8_t i;
 
  Serial.print("tick");

  myMotor->run(FORWARD);
  for (i=0; i<255; i++) {
    myMotor->setSpeed(i); 
    delay(10);

I have no idea what it is pls help me.

2 Replies

user
mpilchfamilyBest Answer (author)2014-05-03

The arduino web site has all the information your looking for.

http://arduino.cc/en/Reference/HomePage

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)2014-05-03

Your question asks "!=", but the example is ->

Which do you want ?

Select as Best AnswerUndo Best Answer