Skip to content

Commit

Permalink
Release 1.0.5 from Google Code.
Browse files Browse the repository at this point in the history
  • Loading branch information
trash80 committed Jul 26, 2015
1 parent 9ef8fe3 commit 305299d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Arduinoboy/Arduinoboy.ino
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
***************************************************************************
***************************************************************************
* *
* Version: 1.0.4 *
* Date: Oct 25 2008 *
* Version: 1.0.5 *
* Date: Oct 28 2008 *
* Name: Timothy Lamb *
* Email: [email protected] *
* *
Expand Down Expand Up @@ -89,7 +89,7 @@ boolean usbMode = false; //to use usb for serial communication as oppose to MI

int gameboyBitPauseLOW = 5; //Bit pause for gbmidi mode .... 1 to 10 /// tested working value: 5=GBA/SP/DMG01 ---
int gameboyBitPauseHIGH = 1; //Bit pause for gbmidi mode .... 1 to 10 /// tested working value: 1=GBA/SP/DMG01 --- (note: roughly 4 microseconds off from Low do to code that writes to the serial line)
int gameboyBytePause= 30; //Byte pause for gbmidi mode .... 5 to 20 /// tested working value: 5=GBA/SP/GBC and 10=DMG
int gameboyBytePause= 10; //Byte pause for gbmidi mode .... 5 to 20 /// tested working value: 5=GBA/SP/GBC and 10=DMG

/***************************************************************************
* Lets Assign our Arduino Pins .....
Expand Down
5 changes: 2 additions & 3 deletions Arduinoboy/Mode_MidiGb.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ void modeMidiGbSetup()
void modeMidiGb()
{
while(1){ //Loop foreverrrr

updateFSGameboyByteFrame();
if (Serial.available() > 0) { //If MIDI is sending
incomingMidiByte = Serial.read(); //Get the byte sent from MIDI
addFSGameboyByte(incomingMidiByte);

//if(!usbMode) Serial.print(incomingMidiByte, BYTE); //Echo the Byte to MIDI Output
if(incomingMidiByte > 0x7F) {
switch (incomingMidiByte & 0xF0) {
Expand All @@ -52,11 +51,11 @@ void modeMidiGb()
midiValueMode = false;
blinkLight(incomingMidiData[0],incomingMidiData[2]);
}

} else {
setMode(); // Check if mode button was depressed
updateBlinkLights();
}
updateFSGameboyByteFrame(); // Send out Bytes to LSDJ
}
}

Expand Down

0 comments on commit 305299d

Please sign in to comment.