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:
foley@ru.is
2013-09-13 19:37:53 +00:00
parent 276228d653
commit 16899eda2d
3 changed files with 23 additions and 20 deletions

View File

@@ -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