From 6582154ec65904bb036528527e38830bb8996615 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Sun, 17 Jul 2022 09:56:03 -0400 Subject: [PATCH] Fix debug script and component --- ino/components/mcopy_capper/mcopy_capper.ino | 4 ++-- ino/components/mcopy_servo_debug/mcopy_servo_debug.ino | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ino/components/mcopy_capper/mcopy_capper.ino b/ino/components/mcopy_capper/mcopy_capper.ino index a677500..0cae7b8 100644 --- a/ino/components/mcopy_capper/mcopy_capper.ino +++ b/ino/components/mcopy_capper/mcopy_capper.ino @@ -1,6 +1,6 @@ #include -boolean debug_state = true; +boolean debug_state = false; /* ---------------------------------------------------- @@ -21,7 +21,7 @@ as servos for development * ------------------------------------------------*/ //Arduino Duemilanove + //Arduino Uno -const int PIN_SERVO = 9; +const int PIN_SERVO = 6; volatile boolean running = false; volatile boolean cap_state = false; diff --git a/ino/components/mcopy_servo_debug/mcopy_servo_debug.ino b/ino/components/mcopy_servo_debug/mcopy_servo_debug.ino index 4788f54..5ebec80 100644 --- a/ino/components/mcopy_servo_debug/mcopy_servo_debug.ino +++ b/ino/components/mcopy_servo_debug/mcopy_servo_debug.ino @@ -1,6 +1,6 @@ #include -const int PIN_SERVO = 9; +const int PIN_SERVO = 6; Servo servo; /* @@ -25,7 +25,10 @@ void setup() { } void loop() { - + delay(1000); + servo.write(153); + delay(1000); + servo.write(93); } void Servo_init () {