diff options
author | DaveHodder67 <dave.hodder@focusrite.com> | 2015-08-13 18:00:42 +0100 |
---|---|---|
committer | DaveHodder67 <dave.hodder@focusrite.com> | 2015-08-13 18:00:42 +0100 |
commit | 4b985f67fd4fff6211aededd61c28553b066fa01 (patch) | |
tree | 92529d28c44137f296f08d23c06f04447ed18bfd | |
parent | cf8238c77d58bda120525c9e4614a9f7971ef59a (diff) | |
download | launchpad-polymaker-4b985f67fd4fff6211aededd61c28553b066fa01.tar.gz launchpad-polymaker-4b985f67fd4fff6211aededd61c28553b066fa01.zip |
updated docs for OS X simulator
-rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -94,7 +94,16 @@ We decided not to support or encourage using a hardware debugger, as opening a L | |||
94 | 94 | ||
95 | Instead, 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 ;) | 95 | Instead, 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 | ||
97 | If 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! | 97 | If do you want to debug interactively (and of course you do), you can use the interactive desktop simulator on OS X. |
98 | |||
99 | 1. Build the Xcode project located in `/tools/simulator` | ||
100 | 2. Connect your Launchpad Pro | ||
101 | 3. Install the factory firmware on your Launchpad Pro | ||
102 | 4. Debug away! | ||
103 | |||
104 | Currently 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 | |||
106 | You 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 | ||
99 | To debug the simulator interactively in Eclipse: | 108 | To debug the simulator interactively in Eclipse: |
100 | 109 | ||