Compare commits

..

No commits in common. "3f759f5678005400488d4cd24e4fa457ebc983d7" and "9d0545aa4fc6c148f76948dadf39cd68c283472f" have entirely different histories.

5 changed files with 5 additions and 26 deletions

View File

@ -362,16 +362,6 @@ class Devices {
return false;
}
}
else if (type === 'capper') {
this.connected.capper = device;
try {
connectSuccess = await this.arduino.connect('capper', device, false);
}
catch (err) {
this.log.error('Error connecting capper', err);
return false;
}
}
else if (type === 'camera,capper') {
this.connected.camera = device;
this.connected.capper = device;

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
#include <Servo.h>
boolean debug_state = false;
boolean debug_state = true;
/*
----------------------------------------------------
@ -21,7 +21,7 @@ as servos for development
* ------------------------------------------------*/
//Arduino Duemilanove +
//Arduino Uno
const int PIN_SERVO = 6;
const int PIN_SERVO = 9;
volatile boolean running = false;
volatile boolean cap_state = false;

View File

@ -1,6 +1,6 @@
#include <Servo.h>
const int PIN_SERVO = 6;
const int PIN_SERVO = 9;
Servo servo;
/*
@ -25,10 +25,7 @@ void setup() {
}
void loop() {
delay(1000);
servo.write(153);
delay(1000);
servo.write(93);
}
void Servo_init () {

View File

@ -351,14 +351,6 @@ class Devices {
this.log.error('Error connecting to camera, camera_second, projector and projector_second', err)
return false
}
} else if (type === 'capper') {
this.connected.capper = device
try {
connectSuccess = await this.arduino.connect('capper', device, false)
} catch (err) {
this.log.error('Error connecting capper', err)
return false
}
} else if (type === 'camera,capper') {
this.connected.camera = device
this.connected.capper = device