added extra send_previous() to all code except the Toshiba_SD590, because it needs the pause and single send_previous() to sync correctly.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user