From cdbbada3f86b863ff9674b85c3add70c6f023213 Mon Sep 17 00:00:00 2001 From: Nadeflore Date: Tue, 19 Nov 2013 22:28:07 +0100 Subject: [PATCH] Support for DDR Supernova & Supernova2 Added baud rate used by DDR Supernova & Supernova2 --- README.md | 10 ++++++---- acrealio/acrealio.ino | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f066679..51a7d76 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,11 @@ Its uses rs232 and allows several "nodes" to be connected a single serial port. Games support ------------- -Currently this project supports the following games : (nodes description) +Currently this project supports the following games : pop'n music 15-18 (one old slotted reader) -pop'n music 19-21 (one new wavepass reader with encrypted communication (only game I know which use this encryption) + optional card dispenser) +pop'n music 19-21 (one new wavepass reader with encrypted communication (only game I know which uses this encryption) + optional card dispenser) iidx 13-18 (2 old slotted readers) @@ -21,10 +21,12 @@ jubeat 1 - knit (one old slotted reader (no keypad) + one led board (game won't jubeat copious - saucer (one new reader (no keypad) + one led board (game won't boot if the led board is not present) -DDR (2 old readers in sd, 2 new readers in HD) +DDR SN-SN2 (2 old slotted readers) + +DDR X-X3 (2 readers (old or new) in sd, 2 readers (old or new) + led board ? in HD) drum mania (1 old reader) guitar freaks (2 old readers) -Sound voltex (1 new wavepass reader + 1 IoBoard ) +Sound voltex (1 new wavepass reader + 1 IoBoard ) \ No newline at end of file diff --git a/acrealio/acrealio.ino b/acrealio/acrealio.ino index 6702482..2cf837a 100644 --- a/acrealio/acrealio.ino +++ b/acrealio/acrealio.ino @@ -423,14 +423,14 @@ void sendAnswer(byte* answer) // long detRate() { - long baudrates[] = {38400, 57600};//baudrates to try + long baudrates[] = {57600,38400,19200};//baudrates to try int i=0; boolean allAA; do //for each baud rate { i++; - if(i>1) + if(i> (sizeof(baudrates)/sizeof(baudrates[0])) -1 ) i=0; //flush in and out buffer while(Serial.available())