Fix debug script and component

This commit is contained in:
Matt McWilliams 2022-07-17 09:56:03 -04:00
parent 9d0545aa4f
commit 6582154ec6
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#include <Servo.h>
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;

View File

@ -1,6 +1,6 @@
#include <Servo.h>
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 () {