everpixx Videotutorials

mehr gibt es auf www.everpixx.de

Das Handwerk – Werbung

Ich finde das Softwareentwicklung auch ein Handwerk ist :)

Silvester 2009

Arducar – RC Car with wifi

arduino motoshield soldering action

After about 2 houres of soldering everything works well :)

Now i can control my servo & dc motor with ease

#include <servotimer1 .h>
 
ServoTimer1 servo1;
ServoTimer1 servo2;
 
void setup() {
  Serial.begin(9600);           // set up Serial library at 9600 bps
  Serial.println("Servo test!");
  servo1.attach(10);
  servo2.attach(9);
}
 
 
void loop() {
  Serial.print("tick");
  servo1.write(180);
  servo2.write(0);
  delay(1000);
 
  Serial.print("tock");
  servo1.write(0);
  servo2.write(180);
  delay(1000);
}
</servotimer1>
←Older