diff --git a/dawn/Synchronizer_Philips_DVP3142_12/Synchronizer_Philips_DVP3142_12.pde b/dawn/Synchronizer_Philips_DVP3142_12/Synchronizer_Philips_DVP3142_12.pde index 596d87e..26ccead 100644 --- a/dawn/Synchronizer_Philips_DVP3142_12/Synchronizer_Philips_DVP3142_12.pde +++ b/dawn/Synchronizer_Philips_DVP3142_12/Synchronizer_Philips_DVP3142_12.pde @@ -27,7 +27,7 @@ int pinLED=13; // The heartbeat LED on the board int heartbeat=0; int secs; // Sarcity 20:58 -int playtime= 20*60+57; // Play time in seconds, you usually leave off a second or two +int playtime= 22*60+10; // Play time in seconds, you usually leave off a second or two //int playtime= 10; // testing @@ -39,8 +39,7 @@ void setup() { Serial.begin(115200); Serial.println("Panasonic DVD DVP-3142/12 Synchronizer $Rev$"); - Serial.println("For \"Sarcity\" by Thor Elis (1981) - "); + Serial.println("For \"Sarcity\" by Thor Elis (1981)"); Serial.println("Code by Joe Foley "); Serial.println("$URL$"); Serial.println("$Id$"); @@ -55,15 +54,18 @@ void setup() { Serial.println(""); secs=playtime; - + send_play(); } /********************************************************************/ void loop() { Serial.println("Sync"); - send_pause(); - waitsec(2); + //send_pause(); + //waitsec(2); + // The three players don't always see the "previous command" so we send it multiple times + send_previous(); + send_previous(); send_previous(); //waitsec(2); // Don't send play because previous automatically starts it @@ -108,7 +110,7 @@ void waitsec(int sec) { void send_stop() { // First comes the pre-data bits, then the command code Serial.println(" stop"); - irsend.sendNEC(0x10431,20); + irsend.sendRC6(0x10431,20); } /********************************************************************/ diff --git a/dawn/Synchronizer_Scott_DVX605HD/Synchronizer_Scott_DVX605HD.pde b/dawn/Synchronizer_Scott_DVX605HD/Synchronizer_Scott_DVX605HD.pde index 2f8fe32..f7ba332 100644 --- a/dawn/Synchronizer_Scott_DVX605HD/Synchronizer_Scott_DVX605HD.pde +++ b/dawn/Synchronizer_Scott_DVX605HD/Synchronizer_Scott_DVX605HD.pde @@ -56,14 +56,16 @@ void setup() { /********************************************************************/ void loop() { Serial.println("Sync"); - send_pause(); - waitsec(2); + //send_pause(); + //waitsec(2); + send_previous(); + send_previous(); send_previous(); //waitsec(2); // Don't send play because previous automatically starts it // If we hit play it will merely pause it. - send_play(); + //send_play(); for(int t = 0; t < playtime; t++) { // This will not give us perfect 1 second timing @@ -110,19 +112,19 @@ void send_stop() { void send_play() { // First comes the pre-data bits, then the command code Serial.println(" play"); - irsend.sendRC6(0xFFF00F,32); + irsend.sendNEC(0xFFF00F,32); } /********************************************************************/ void send_pause() { // First comes the pre-data bits, then the command code Serial.println(" pause"); - irsend.sendRC6(0xFFD02F,32); + irsend.sendNEC(0xFFD02F,32); } /********************************************************************/ void send_previous() { // First comes the pre-data bits, then the command code Serial.println(" previous"); - irsend.sendRC6(0xFF50AF, 32); -} + irsend.sendNEC(0xFF50AF, 32); +} diff --git a/dawn/Synchronizer_Toshiba_SD590EKE/Synchronizer_Toshiba_SD590EKE.pde b/dawn/Synchronizer_Toshiba_SD590EKE/Synchronizer_Toshiba_SD590EKE.pde index 20a11f0..223593c 100644 --- a/dawn/Synchronizer_Toshiba_SD590EKE/Synchronizer_Toshiba_SD590EKE.pde +++ b/dawn/Synchronizer_Toshiba_SD590EKE/Synchronizer_Toshiba_SD590EKE.pde @@ -46,9 +46,9 @@ void setup() { Serial.print(secs % 60); Serial.println(""); - // The DVD player starts playing automatically, so we should pause it - send_pause(); - waitsec(2); + // The DVD player starts playing automatically, so maybe we should pause it + //send_pause(); + //waitsec(2); secs=playtime; } @@ -57,12 +57,11 @@ void setup() { void loop() { Serial.println("Sync"); send_pause(); - waitsec(2); - + waitsec(2); send_previous(); //waitsec(2); - send_play(); // this should not be necessary, but just in case + //send_play(); // this should not be necessary, but just in case for(int t = 0; t < playtime; t++) { // This will not give us perfect 1 second timing // but it is good enough for most video applications