(Created page with "<nowiki>//servo library #include <Servo.h> char val; Servo myservo1; Servo myservo2; Servo myservo3; void setup() { myservo1.attach(9); myservo2.attach(7); myservo3.a...") |
No edit summary |
||
Line 3: | Line 3: | ||
#include <Servo.h> | #include <Servo.h> | ||
</nowiki> | |||
char val; | char val; | ||
Line 11: | Line 11: | ||
Servo myservo3; | Servo myservo3; | ||
void setup() { | void setup() { | ||
myservo1.attach(9); | myservo1.attach(9); | ||
Line 28: | Line 28: | ||
} | } | ||
void loop() { | void loop() { | ||
if(Serial.available()) { | if(Serial.available()) { | ||
//read values from processing | //read values from processing | ||
Line 74: | Line 72: | ||
} | } | ||
delay(10); | delay(10); | ||
} | } |