I am still working on a few structural elements to make the horn of the gramophone fee standing and improve the servo sweep code. Once these aspects a in further stages of completion the piece The Uncollected will be a contemporary maser piece.
Arduino code in progress:
#include <Servo.h>
Servo myservo;
int pos = 45;
int pause = 100;
void setup()
{
myservo.attach(9);
}
void loop()
{
for(pos = 45; pos < 135; pos += 1)
{
myservo.write(pos);
delay(pause);
}
for(pos = 135; pos>=45; pos-=1)
{
myservo.write(pos);
delay(pause);
}
}
No comments:
Post a Comment