Changes at the museum being integrated in. Somehow the dropbox did not update correctly. Added the play() back into the Toshiba_SD590EKE code.
This commit is contained in:
@@ -54,9 +54,6 @@ void setup() {
|
||||
Serial.print(secs % 60);
|
||||
Serial.println("");
|
||||
|
||||
// The DVD player starts playing automatically, so we should pause it
|
||||
send_pause();
|
||||
waitsec(2);
|
||||
secs=playtime;
|
||||
|
||||
}
|
||||
@@ -64,6 +61,9 @@ void setup() {
|
||||
/********************************************************************/
|
||||
void loop() {
|
||||
Serial.println("Sync");
|
||||
send_pause();
|
||||
waitsec(2);
|
||||
|
||||
send_previous();
|
||||
//waitsec(2);
|
||||
// Don't send play because previous automatically starts it
|
||||
@@ -93,9 +93,6 @@ void loop() {
|
||||
delay(1000);
|
||||
}
|
||||
|
||||
send_pause();
|
||||
waitsec(2);
|
||||
|
||||
}
|
||||
|
||||
/**************************************************************/
|
||||
|
||||
@@ -52,9 +52,6 @@ void setup() {
|
||||
Serial.print(secs % 60);
|
||||
Serial.println("");
|
||||
|
||||
// The DVD player starts playing automatically, so we should pause it
|
||||
send_pause();
|
||||
waitsec(3);
|
||||
secs=playtime;
|
||||
|
||||
}
|
||||
@@ -62,6 +59,10 @@ void setup() {
|
||||
/********************************************************************/
|
||||
void loop() {
|
||||
Serial.println("Sync");
|
||||
// The DVD player starts playing automatically, so we should pause it
|
||||
send_pause();
|
||||
waitsec(2);
|
||||
|
||||
send_previous();
|
||||
// on this model, previous immediately starts playing
|
||||
|
||||
@@ -88,9 +89,6 @@ void loop() {
|
||||
delay(1000);
|
||||
}
|
||||
|
||||
send_pause();
|
||||
waitsec(1);
|
||||
|
||||
}
|
||||
|
||||
/**************************************************************/
|
||||
|
||||
@@ -56,10 +56,13 @@ void setup() {
|
||||
/********************************************************************/
|
||||
void loop() {
|
||||
Serial.println("Sync");
|
||||
send_previous();
|
||||
waitsec(2);
|
||||
send_pause();
|
||||
waitsec(2);
|
||||
|
||||
send_play();
|
||||
send_previous();
|
||||
//waitsec(2);
|
||||
|
||||
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
|
||||
@@ -83,8 +86,6 @@ void loop() {
|
||||
delay(1000);
|
||||
}
|
||||
|
||||
send_pause();
|
||||
waitsec(1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user