update firmwares to send info to controlling computer
This commit is contained in:
parent
2f6d3b7b5b
commit
7ee8214615
6 changed files with 84 additions and 113 deletions
18
Arduino Firmware/Servo/ServoWorker/ServoWorker.ino
Normal file
18
Arduino Firmware/Servo/ServoWorker/ServoWorker.ino
Normal file
|
@ -0,0 +1,18 @@
|
|||
// tp1sm
|
||||
|
||||
#include <Servo.h>
|
||||
|
||||
Servo servoChannel;
|
||||
|
||||
void setup()
|
||||
{
|
||||
servoChannel.attach(2);
|
||||
}
|
||||
|
||||
void loop()
|
||||
{
|
||||
servoChannel.write(0);
|
||||
delay(1000);
|
||||
servoChannel.write(180);
|
||||
delay(1000);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue