summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaveHodder67 <dave.hodder@focusrite.com>2015-08-13 18:00:42 +0100
committerDaveHodder67 <dave.hodder@focusrite.com>2015-08-13 18:00:42 +0100
commit4b985f67fd4fff6211aededd61c28553b066fa01 (patch)
tree92529d28c44137f296f08d23c06f04447ed18bfd
parentcf8238c77d58bda120525c9e4614a9f7971ef59a (diff)
downloadlaunchpad-polymaker-4b985f67fd4fff6211aededd61c28553b066fa01.tar.gz
launchpad-polymaker-4b985f67fd4fff6211aededd61c28553b066fa01.zip
updated docs for OS X simulator
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 40a9b08..f91b06b 100644
--- a/README.md
+++ b/README.md
@@ -94,7 +94,16 @@ We decided not to support or encourage using a hardware debugger, as opening a L
94 94
95Instead, you're going to have to do things the old fashioned way - by blinking LEDs or sending MIDI messages (though hopefully no need for a 'scope!). For what it's worth, that's the way I've developed this version of the firmware - dogfooding all the way ;) 95Instead, you're going to have to do things the old fashioned way - by blinking LEDs or sending MIDI messages (though hopefully no need for a 'scope!). For what it's worth, that's the way I've developed this version of the firmware - dogfooding all the way ;)
96 96
97If do you want to debug interactively (and of course you do), you can use the simple command-line simulator located in the `/tools` directory. It is compiled and ran as part of the build process, so it serves as a very basic test of your app before it is baked into a sysex dump. If you want to test particular button presses or MIDI messages, just modify it to send those messages to your app, and debug away. Yes, it's rudimental - wiring it up to the device over MIDI for interactive testing would be fab! 97If do you want to debug interactively (and of course you do), you can use the interactive desktop simulator on OS X.
98
991. Build the Xcode project located in `/tools/simulator`
1002. Connect your Launchpad Pro
1013. Install the factory firmware on your Launchpad Pro
1024. Debug away!
103
104Currently it only supports button presses and LED messages - there's no virtual MIDI output or aftertouch yet. It has a really awful busywaiting timer for the 1kHz tick. However, it does allow you to debug your application logic very nicely using Xcode!
105
106You can also use the simple command-line simulator located in the `/tools` directory. It is compiled and ran as part of the build process, so it serves as a very basic test of your app before it is baked into a sysex dump - more of a test harness.
98 107
99To debug the simulator interactively in Eclipse: 108To debug the simulator interactively in Eclipse:
100 109