Back

Comments 6

  • Send a Message on Discord 9 months ago

    Hello,
    i want to make easy to use bot and found this... Before wasting my money... Is there any way to make a user interaction? (Ex.: if i type !help it sends a message with help)

    Great idea btw! Keep it up :)

  • Using Serial Monitor to Control Servo Motor 12 months ago

    I am using ArduinoIDE, and the code is black here, because the colors are seen better on black. (Website setting)

  • Using Serial Monitor to Control Servo Motor 12 months ago

    Yes, there is a trick:
    The “For” loop does not have {}, that is reason why you might think it does not do anything. But.... it does something:
    Whenever the command is executed, it tells the servo, witch direction is witch, that helps unbug the code.

  • Using Serial Monitor to Control Servo Motor 12 months ago

    For me everything worked perfectly.

  • Using Serial Monitor to Control Servo Motor 12 months ago

    Hello Patrick,
    Thanks for your comment.
    Yes, you are wrong, because there is no {} after the "for" command. It just calibrates the servo.
    I mean, the code is not like this:
    for(pos = 0; pos <= 180; pos += 1)
    {
    myservo.write(0);
    delay(1000);
    myservo.write(180);
    delay(1000);
    myservo.write(90);
    delay(1000);
    Serial.println("servo calibrated");
    Serial.println("-------------------------");
    Serial.println("Comand input online, write command to perform action");
    Serial.println("-------------------------");
    }
    ........

    But like this:
    for(pos = 0; pos <= 180; pos += 1)
    myservo.write(0);
    delay(1000);
    myservo.write(180);
    delay(1000);
    myservo.write(90);
    delay(1000);
    Serial.println("servo calibrated");
    Serial.println("-------------------------");
    Serial.println("Comand input online, write command to perform action");
    Serial.println("-------------------------");
    ........

    I hope, this helped you.
    Have a great day!

  • Arduino LCD Thermometer over 1 year ago

    WOW! Thank you so much for 100 views!

Add projectSign up / Login