From 9effcc9347d049fb6e1b3ccc40806b9edaaa5f34 Mon Sep 17 00:00:00 2001 From: nlaerema Date: Tue, 4 Mar 2025 14:51:21 +0100 Subject: [PATCH] + | Trying Servo Motors --- Servo_test/Servo_test.ino | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Servo_test/Servo_test.ino diff --git a/Servo_test/Servo_test.ino b/Servo_test/Servo_test.ino new file mode 100644 index 0000000..14be037 --- /dev/null +++ b/Servo_test/Servo_test.ino @@ -0,0 +1,15 @@ +#include "Servo.h" + +Servo servo1 ; +Servo servo2 ; + +void setup() { + servo1.attach(9); // attache le servo1 au pin 9 + servo2.attach(10); // attache le servo2 au pin 10 +} + +void loop() { + + servo1.write(0) ; + servo2.write(0) ; +} \ No newline at end of file