From 93277776bca029ee8932a7ded64dc2df0a0a7e29 Mon Sep 17 00:00:00 2001 From: Sam Archer Date: Sun, 16 Oct 2011 23:47:31 -0700 Subject: [PATCH] Fixed always using COM6. --- Java/MoppyDesk/src/moppydesk/MoppySequencer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Java/MoppyDesk/src/moppydesk/MoppySequencer.java b/Java/MoppyDesk/src/moppydesk/MoppySequencer.java index 830d70b..dcbed8d 100644 --- a/Java/MoppyDesk/src/moppydesk/MoppySequencer.java +++ b/Java/MoppyDesk/src/moppydesk/MoppySequencer.java @@ -30,7 +30,7 @@ public class MoppySequencer implements MetaEventListener{ ArrayList listeners = new ArrayList(1); public MoppySequencer(String comPort) throws NoSuchPortException, PortInUseException, UnsupportedCommOperationException, IOException, MidiUnavailableException { - mb = new MoppyBridge("COM6"); //Create MoppyBridge on the COM port with the Arduino + mb = new MoppyBridge(comPort); //Create MoppyBridge on the COM port with the Arduino mp = new MoppyPlayer(mb); mb.resetDrives();