Support for DDR Supernova & Supernova2

Added baud rate used by DDR Supernova & Supernova2
main
Nadeflore 2013-11-19 22:28:07 +01:00
parent aa2871dc98
commit cdbbada3f8
2 changed files with 8 additions and 6 deletions

View File

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

View File

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