Highly Liquid Forum facebook twitter google plus rss feed

Go Back   Highly Liquid Forum > Current Products > MIDI CPU

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 07-20-2015, 12:12 AM
jodywhitesides jodywhitesides is offline
Junior Member
 
Join Date: Mar 2015
Posts: 21
Default

I've figured out the realtime controller issue.

Last issues left: The Mode switching and the LEDs for the Loop switched - based on their mode...

John, I'm hoping there's help available for this. :-)

I'm excited to have this so close to being finished.
Reply With Quote
  #22  
Old 07-20-2015, 06:40 AM
jodywhitesides jodywhitesides is offline
Junior Member
 
Join Date: Mar 2015
Posts: 21
Default

I found the ESOR thread about layers using a mode type switch - this should solve my issue. It may also solve my LED configuration. Need to do a bit more reading to see how I can apply what he did to my project.

Everything is wired in, now comes the last bits of programming - the mode switching and the LED lights.

Close, very close to being done.
Reply With Quote
  #23  
Old 07-21-2015, 09:00 PM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Hi Jody,

Can you post the SysEx you have so far that gets some parts working? That will help. Once I take a look at that, let's discuss the "mode" switching in more detail.

For your expression inputs, the code will look like this:

// 1. Terminal #22 - "Volume" - Type Absolute, Ctrl 102 (66h)
16 00 04 00 66 09

// 2. Terminal #23 - "FX levels" - Type Absolute, Ctrl 103 (67h)
17 00 04 00 67 0A

Let me know how that works out.
Reply With Quote
  #24  
Old 07-21-2015, 09:02 PM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Quote:
Originally Posted by John View Post
Hi Jody,

Can you post the SysEx you have so far that gets some parts working? That will help. Once I take a look at that, let's discuss the "mode" switching in more detail.

For your expression inputs, the code will look like this:

// 1. Terminal #22 - "Volume" - Type Absolute, Ctrl 102 (66h)
16 00 04 00 66 09

// 2. Terminal #23 - "FX levels" - Type Absolute, Ctrl 103 (67h)
17 00 04 00 67 0A

Let me know how that works out.
Oops. Now I realize I missed your last two posts on the second page of the thread and that you figured out the expression part already.

In any case, please post the sysex config you're working with now, and we'll continue from there.
Reply With Quote
  #25  
Old 07-21-2015, 11:03 PM
jodywhitesides jodywhitesides is offline
Junior Member
 
Join Date: Mar 2015
Posts: 21
Default

Here's the current dump:
Code:
0000  F0 00 01 5D 04 01 00 00  00 44 00 3C 7F 00 01 44  |   ]     D <   D|
0010  00 3C 00 01 00 44 00 3D  7F 01 01 44 00 3D 00 02  | <   D =   D =  |
0020  00 44 00 3E 7F 02 01 44  00 3E 00 03 00 44 00 3F  | D >   D >   D ?|
0030  7F 03 01 44 00 3F 00 04  00 44 00 40 7F 04 01 44  |   D ?   D @   D|
0040  00 40 00 05 00 44 00 41  7F 05 01 44 00 41 00 06  | @   D A   D A  |
0050  00 44 00 42 7F 06 01 44  00 42 00 07 00 44 00 43  | D B   D B   D C|
0060  7F 07 01 44 00 43 00 08  00 44 00 44 7F 08 01 44  |   D C   D D   D|
0070  00 44 00 09 00 44 00 45  7F 09 01 44 00 45 00 0A  | D   D E   D E  |
0080  00 4C 01 14 7F 0A 01 00  00 00 00 0B 00 4C 01 15  | L           L  |
0090  7F 0B 01 00 00 00 00 0C  00 4C 01 16 7F 0C 01 00  |         L      |
00A0  00 00 00 0D 00 72 00 1D  1D 0D 01 74 00 12 01 0E  |     r     t    |
00B0  00 4C 01 18 7F 0E 01 00  00 00 00 0F 00 4C 01 19  | L           L  |
00C0  7F 0F 01 00 00 00 00 10  00 4C 01 1A 7F 10 01 00  |         L      |
00D0  00 00 00 11 00 4C 01 1B  7F 11 01 00 00 00 00 12  |     L          |
00E0  00 4C 01 1C 7F 12 01 00  00 00 00 13 00 4C 01 1D  | L           L  |
00F0  7F 13 01 00 00 00 00 14  00 4C 01 1E 7F 14 01 00  |         L      |
0100  00 00 00 15 00 4C 01 1C  7F 15 01 44 00 51 00 16  |     L     D Q  |
0110  00 04 01 66 09 16 01 04  01 66 09 17 00 04 01 67  |   f     f     g|
0120  0A 17 01 04 01 67 0A F7                           |     g  |
Code:
0000  F0 00 01 5D 04 01 01 00  00 7F 00 00 00 00 01 7F  |   ]            |
0010  00 00 00 01 00 7F 00 00  00 01 01 7F 00 00 00 02  |                |
0020  00 7F 00 00 00 02 01 7F  00 00 00 03 00 7F 00 00  |                |
0030  00 03 01 7F 00 00 00 04  00 7F 00 00 00 04 01 7F  |                |
0040  00 00 00 05 00 7F 00 00  00 05 01 7F 00 00 00 06  |                |
0050  00 7F 00 00 00 06 01 7F  00 00 00 07 00 7F 00 00  |                |
0060  00 07 01 7F 00 00 00 08  00 7F 00 00 00 08 01 7F  |                |
0070  00 00 00 09 00 7F 00 00  00 09 01 7F 00 00 00 0A  |                |
0080  00 7F 00 00 00 0A 01 7F  00 00 00 0B 00 7F 00 00  |                |
0090  00 0B 01 7F 00 00 00 0C  00 7F 00 00 00 0C 01 7F  |                |
00A0  00 00 00 0D 00 7F 00 00  00 0D 01 7F 00 00 00 0E  |                |
00B0  00 7F 00 00 00 0E 01 7F  00 00 00 0F 00 7F 00 00  |                |
00C0  00 0F 01 7F 00 00 00 10  00 7F 00 00 00 10 01 7F  |                |
00D0  00 00 00 11 00 7F 00 00  00 11 01 7F 00 00 00 12  |                |
00E0  00 7F 00 00 00 12 01 7F  00 00 00 13 00 7F 00 00  |                |
00F0  00 13 01 7F 00 00 00 14  00 7F 00 00 00 14 01 7F  |                |
0100  00 00 00 15 00 7F 00 00  00 15 01 7F 00 00 00 16  |                |
0110  00 7F 00 00 00 16 01 7F  00 00 00 17 00 7F 00 00  |                |
0120  00 17 01 7F 00 00 00 F7                           |        |
Code:
0000  F0 00 01 5D 04 01 02 00  00 7F 00 00 00 00 01 7F  |   ]            |
0010  00 00 00 01 00 7F 00 00  00 01 01 7F 00 00 00 02  |                |
0020  00 7F 00 00 00 02 01 7F  00 00 00 03 00 7F 00 00  |                |
0030  00 03 01 7F 00 00 00 04  00 7F 00 00 00 04 01 7F  |                |
0040  00 00 00 05 00 7F 00 00  00 05 01 7F 00 00 00 06  |                |
0050  00 7F 00 00 00 06 01 7F  00 00 00 07 00 7F 00 00  |                |
0060  00 07 01 7F 00 00 00 08  00 7F 00 00 00 08 01 7F  |                |
0070  00 00 00 09 00 7F 00 00  00 09 01 7F 00 00 00 0A  |                |
0080  00 7F 00 00 00 0A 01 7F  00 00 00 0B 00 7F 00 00  |                |
0090  00 0B 01 7F 00 00 00 0C  00 7F 00 00 00 0C 01 7F  |                |
00A0  00 00 00 0D 00 7F 00 00  00 0D 01 7F 00 00 00 0E  |                |
00B0  00 7F 00 00 00 0E 01 7F  00 00 00 0F 00 7F 00 00  |                |
00C0  00 0F 01 7F 00 00 00 10  00 7F 00 00 00 10 01 7F  |                |
00D0  00 00 00 11 00 7F 00 00  00 11 01 7F 00 00 00 12  |                |
00E0  00 7F 00 00 00 12 01 7F  00 00 00 13 00 7F 00 00  |                |
00F0  00 13 01 7F 00 00 00 14  00 7F 00 00 00 14 01 7F  |                |
0100  00 00 00 15 00 7F 00 00  00 15 01 7F 00 00 00 16  |                |
0110  00 7F 00 00 00 16 01 7F  00 00 00 17 00 7F 00 00  |                |
0120  00 17 01 7F 00 00 00 F7                           |        |
Code:
0000  F0 00 01 5D 04 01 03 00  00 7F 00 00 00 00 01 7F  |   ]            |
0010  00 00 00 01 00 7F 00 00  00 01 01 7F 00 00 00 02  |                |
0020  00 7F 00 00 00 02 01 7F  00 00 00 03 00 7F 00 00  |                |
0030  00 03 01 7F 00 00 00 04  00 7F 00 00 00 04 01 7F  |                |
0040  00 00 00 05 00 7F 00 00  00 05 01 7F 00 00 00 06  |                |
0050  00 7F 00 00 00 06 01 7F  00 00 00 07 00 7F 00 00  |                |
0060  00 07 01 7F 00 00 00 08  00 7F 00 00 00 08 01 7F  |                |
0070  00 00 00 09 00 7F 00 00  00 09 01 7F 00 00 00 0A  |                |
0080  00 7F 00 00 00 0A 01 7F  00 00 00 0B 00 7F 00 00  |                |
0090  00 0B 01 7F 00 00 00 0C  00 7F 00 00 00 0C 01 7F  |                |
00A0  00 00 00 0D 00 7F 00 00  00 0D 01 7F 00 00 00 0E  |                |
00B0  00 7F 00 00 00 0E 01 7F  00 00 00 0F 00 7F 00 00  |                |
00C0  00 0F 01 7F 00 00 00 10  00 7F 00 00 00 10 01 7F  |                |
00D0  00 00 00 11 00 7F 00 00  00 11 01 7F 00 00 00 12  |                |
00E0  00 7F 00 00 00 12 01 7F  00 00 00 13 00 7F 00 00  |                |
00F0  00 13 01 7F 00 00 00 14  00 7F 00 00 00 14 01 7F  |                |
0100  00 00 00 15 00 7F 00 00  00 15 01 7F 00 00 00 16  |                |
0110  00 7F 00 00 00 16 01 7F  00 00 00 17 00 7F 00 00  |                |
0120  00 17 01 7F 00 00 00 F7                           |        |
Code:
00  F0 00 01 5D 04 04 03 00  00 7F 00 04 00 00 7F 00  |   ]            |
10  05 00 00 7F 00 06 00 00  7F 00 07 00 00 7F 00 08  |                |
20  00 00 7F 00 09 00 00 7F  00 0A 00 00 7F 00 0B 00  |                |
30  00 7F 00 0C 00 00 7F 00  0D 00 00 7F 00 0E 00 00  |                |
40  7F 00 0F 00 00 7F 00 10  00 00 7F 00 11 00 00 7F  |                |
50  00 12 00 00 7F 00 13 00  00 7F 00 14 00 00 7F 00  |                |
60  15 00 00 7F 00 16 00 00  7F 00 17 00 00 7F 00 18  |                |
70  00 00 7F 00 19 00 00 7F  00 1A 00 00 7F 00 1B 00  |                |
80  00 7F 00 1C 00 00 7F 00  1D 0F 00 0F 00 1E 7F 00  |                |
90  7F 00 1F 7F 00 7F 00 20  00 00 7F 00 21 00 00 7F  |            !   |
A0  00 22 00 00 7F 00 23 00  00 7F 00 24 00 00 7F 00  | "    #    $    |
B0  25 00 00 7F 00 26 00 00  7F 00 27 00 00 7F 00 28  |%    &    '    (|
C0  00 00 7F 00 29 00 00 28  00 F7                    |    )  (  |
Code:
00  F0 00 01 5D 04 05 00 01  02 03 04 05 06 07 08 09  |   ]            |
10  0A 0B 0C 0D 0E 0F 10 11  12 13 14 15 16 17 18 19  |                |
20  1A 1B 1C 1D 1E 1F 20 21  22 23 24 25 26 27 28 29  |       !"#$%&'()|
30  2A 2B 2C 2D 2E 2F 30 31  32 33 34 35 36 37 38 39  |*+,-./0123456789|
40  3A 3B 3C 3D 3E 3F 40 41  42 43 44 45 46 47 48 49  |:;<=>?@ABCDEFGHI|
50  4A 4B 4C 4D 4E 4F 50 51  52 53 54 55 56 57 58 59  |JKLMNOPQRSTUVWXY|
60  5A 5B 5C 5D 5E 5F 60 61  62 63 64 65 66 67 68 69  |Z[\]^_`abcdefghi|
70  6A 6B 6C 6D 6E 6F 70 71  72 73 74 75 76 77 78 79  |jklmnopqrstuvwxy|
80  7A 7B 7C 7D 7E 7F F7                              |z{|}~  |
Code:
00  F0 00 01 5D 04 07 00 01  02 03 04 05 06 07 08 09  |   ]            |
10  0A 0B 0C 0D 0E 0F 10 11  12 13 14 15 16 17 18 19  |                |
20  1A 1B 1C 1D 1E 1F 20 21  22 23 24 25 26 27 28 29  |       !"#$%&'()|
30  2A 2B 2C 2D 2E 2F 30 31  32 33 34 35 36 37 38 39  |*+,-./0123456789|
40  3A 3B 3C 3D 3E 3F 40 41  42 43 44 45 46 47 48 49  |:;<=>?@ABCDEFGHI|
50  4A 4B 4C 4D 4E 4F 50 51  52 53 54 55 56 57 58 59  |JKLMNOPQRSTUVWXY|
60  5A 5B 5C 5D 5E 5F 60 61  62 63 64 65 66 67 68 69  |Z[\]^_`abcdefghi|
70  6A 6B 6C 6D 6E 6F 70 71  72 73 74 75 76 77 78 79  |jklmnopqrstuvwxy|
80  7A 7B 7C 7D 7E 7F F7                              |z{|}~  |
Currently I'm looking to do 3 layers. Layer 0 is set how I'd like it. I'm thinking I'll leave the LEDs off on this one as it will be primarily to drive MainStage when using full electric guitar type set up. No looping.

Layers 1 & 2 will be my looping layer setups, where Layer 1 is for the selecting and recording of each loop. Since I'm planning on using the Mobius plugin, I'm thinking I'll need a way to get to at least 8 loops. from my 11 buttons. LED matrix will need to work for this.

Layer 2 would be for the playback switching of the loops, i.e. turning on and off certain loops. LED matrix will need to work for this.

My LEDs of which I have 4, but they are dual purpose (Red or Green, Off). I have REDs wired on CT #0-#3, Greens are wired #4-#7. And the common is on CT#8.

I'm still working on wrapping my head around the Mode switch. I used ESOR info for the Mode CT #12. But it's not changing layers for me at the moment. I'm probably doing something wrong. Though I'm sure that I can come up with the layer info for each button. Essentially, I want them to change their control # so that it can be programmed to the host for the expanded function per layer.
Reply With Quote
  #26  
Old 07-23-2015, 06:03 AM
jodywhitesides jodywhitesides is offline
Junior Member
 
Join Date: Mar 2015
Posts: 21
Default

I've now got the buttons and expression pedals programmed for 4 layers. However, I'm not sure I want all 4 layers - I think I may only want 3.

My question is: How do I still do the round robin type of layer switching to go 0, 1, 2 and back to 0 without going to 3 (which then automatically goes back to 0)?

Also, next comes the task of setting up the LEDs and when they should turn on and off or switch colors. I'm actually pretty in the dark about this even with the ESOR manual.

I'm ready to get this finished. Hope you can help soon.
Reply With Quote
  #27  
Old 07-23-2015, 10:54 AM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Quote:
Originally Posted by jodywhitesides View Post
I've now got the buttons and expression pedals programmed for 4 layers. However, I'm not sure I want all 4 layers - I think I may only want 3.

My question is: How do I still do the round robin type of layer switching to go 0, 1, 2 and back to 0 without going to 3 (which then automatically goes back to 0)?
Ok. There are two possible ways to do this. Both would require an upgrade to firmware version 1.4.

Method 1:

When setting up a CT for CC output, use mode 4Dh instead of 4Ch. Instead of sending a fixed CC number, mode 4Dh uses the contents of a data register to generate the CC number.

Then, you can set up the mode switch to modify the contents of the registers that are used to generate the CC values.

Keep in mind that this only allows a change in CC number output, and doesn't allow completely different button functions from one "mode" to the next.

Method 2:

Set up the MIDI CPU so that just one config layer is active at any one time. This means:

Register 1Dh should be initialized at boot to the value 01h (0001 in binary). This starts the MIDI CPU with only layer 0 active. Check out the "data register configuration" message to set that up.

Then:

In layer 0, the mode button writes value 02h (0010 in binary) to register 1Dh, activating only layer 1.

In layer 1, the mode button writes value 04h (0100 in binary) to register 1Dh, activating only layer 2.

In layer 2, the mode button writes value 01h to register 1Dh, activating layer 0 again.

Thus, you can cycle thru layers 0, 1, 2 by repeatedly pressing the mode button.

Keep in mind that for any CTs that should keep the same behavior for all layers, their layer 0 config has to be duplicated in both layer 1 and layer 2.

Quote:
Also, next comes the task of setting up the LEDs and when they should turn on and off or switch colors. I'm actually pretty in the dark about this even with the ESOR manual.
So I think you'd like a pair of LEDs for each mode-switchable button. The LED that is controlled by a button press is determined by which mode is active. Is that correct?

This may get a little tricky, and I'm not totally sure it will be possible until the rest of the configuration is settled.

My first guess is that using "Method 1" above would allow more flexibility in LED control. I'm not 100% sure though.
Reply With Quote
  #28  
Old 07-23-2015, 10:36 PM
jodywhitesides jodywhitesides is offline
Junior Member
 
Join Date: Mar 2015
Posts: 21
Default

Thank you John.

I've opted for "Method 2". I had already figured out that I needed different CC #'s so that they'd control different things. I also figured out that I'd need the same values for any button/controller that had to be on each layer.

I'm going to keep all 4 layers at the moment, but it's good to know how to switch having only three if I deem it necessary.

As for my LED setup - that's where I'm at now. That's the last bit to all of this.

I have 4 LEDs that are dual color (i.e. they can be red or green). Have all the Red lines on CTs 0 - 3. I have all the Green lines on CTs 4 - 7 and all the commons on CT 8.

I've changed how I want them to work as in thinking about the pedal and how it works, I don't need the LEDs to do anything fancy. But this is what I'd like them to do:

When I'm in Layer 0: Then LED #1 should be lit Green (i.e. from CT #4). Then the other 3 LEDs should be Red (i.e. it turns on CT # 1 - 3).

When I'm in Layer 1: Then LED #2 should be lit Green (i.e. from CT #5). Then the other 3 LEDs should be Red (i.e. it turns on CT # 0, 2 - 3).

When I'm in Layer 2: Then LED #3 should be lit Green (i.e. from CT #6). Then the other 3 LEDs should be Red (i.e. it turns on CT # 0 - 1, 3).

When I'm in Layer 3: Then LED #4 should be lit Green (i.e. from CT #7). Then the other 3 LEDs should be Red (i.e. it turns on CT # 0 - 2).

I'm trying ESOR turning things on, but I'm not getting anything from any of the lights. So I'm doing something wrong.

Code:
F0 00 01 5D 04 01
00
00 00 2B 00 00 00
01 00 2B 00 00 01
02 00 2B 00 00 01
03 00 2B 00 00 01
04 00 2B 00 00 01
05 00 2B 00 00 00
06 00 2B 00 00 00
07 00 2B 00 00 00
08 00 2A 00 02 11
F7
Alas, I'm not understanding the manual or ESOR's method to getting the LEDs to light. What would I do?

Thanks,
J
Reply With Quote
  #29  
Old 07-24-2015, 12:56 AM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Quote:
Originally Posted by jodywhitesides View Post
Thank you John.

I've opted for "Method 2". I had already figured out that I needed different CC #'s so that they'd control different things. I also figured out that I'd need the same values for any button/controller that had to be on each layer.

I'm going to keep all 4 layers at the moment, but it's good to know how to switch having only three if I deem it necessary.

As for my LED setup - that's where I'm at now. That's the last bit to all of this.

I have 4 LEDs that are dual color (i.e. they can be red or green). Have all the Red lines on CTs 0 - 3. I have all the Green lines on CTs 4 - 7 and all the commons on CT 8.

I've changed how I want them to work as in thinking about the pedal and how it works, I don't need the LEDs to do anything fancy. But this is what I'd like them to do:

When I'm in Layer 0: Then LED #1 should be lit Green (i.e. from CT #4). Then the other 3 LEDs should be Red (i.e. it turns on CT # 1 - 3).

When I'm in Layer 1: Then LED #2 should be lit Green (i.e. from CT #5). Then the other 3 LEDs should be Red (i.e. it turns on CT # 0, 2 - 3).

When I'm in Layer 2: Then LED #3 should be lit Green (i.e. from CT #6). Then the other 3 LEDs should be Red (i.e. it turns on CT # 0 - 1, 3).

When I'm in Layer 3: Then LED #4 should be lit Green (i.e. from CT #7). Then the other 3 LEDs should be Red (i.e. it turns on CT # 0 - 2).

I'm trying ESOR turning things on, but I'm not getting anything from any of the lights. So I'm doing something wrong.

Code:
F0 00 01 5D 04 01
00
00 00 2B 00 00 00
01 00 2B 00 00 01
02 00 2B 00 00 01
03 00 2B 00 00 01
04 00 2B 00 00 01
05 00 2B 00 00 00
06 00 2B 00 00 00
07 00 2B 00 00 00
08 00 2A 00 02 11
F7
Alas, I'm not understanding the manual or ESOR's method to getting the LEDs to light. What would I do?

Thanks,
J
Ok. The LED config looks good so far. I trust that the dual LEDs are indeed common-cathode to match the LED output format 02h. Well done!

Since your config uses register 11h to store the LED states, the only thing left to do is write different values to 11h in order to manipulate the LEDs.

I would set it up like this:

When the mode button is released (tt=01h), it updates the register 11h value to get the correct LED pattern using mode 74h.

For layer 0, the binary LED bit pattern of 0001 1110 is 1Eh.

So you could do this:

0D 00 74 00 1D 02
0D 01 74 00 11 1E

Note that the active layer changes between transitions 00h and 01h. So these to lines are not both executed on the same button press.

Based on your config, it looks like you may have been trying this already, but it looks like the wrong data register was being manipulated (12h instead of 11h).

Having said all of that, there is a problem with this approach. When it comes time to write LED bit pattern 1000 0111, or 87h, well, you can't. Because the config can't contain a value greater than 7Fh. (Sysex data, like all MIDI data bytes, are only 7 bits and thus max out at 7Fh. Bytes 80h and up are "status bytes" that will break the sysex message.)

....so, the workaround I would use it to put the red LED commons on CT 8, and put the green LED commons on CT9. (And use only CT 0-3 for LED data.)

The best part is that CT8 and CT9 can both simply use register 1Dh for their bit patterns, but can use different output formats so that they automatically are inverted from each other. (I think formats 02h and 01h are the ones to use.)

That way, there is no longer a reason to do any manipulation of register 11h! So:

08 00 2A 00 02 1D
09 00 2A 00 01 1D

and, in layer 0, for example:

0D 00 74 00 1D 02
0D 01 7F 00 00 00

Let me know if that all makes sense! It's kind of slick.

Last edited by John; 07-24-2015 at 01:04 AM.
Reply With Quote
  #30  
Old 07-24-2015, 04:47 AM
jodywhitesides jodywhitesides is offline
Junior Member
 
Join Date: Mar 2015
Posts: 21
Default

1 problem with the method you suggest for being slick... My LEDs have 3 prongs. 1 for Red, 1 for Green, 1 ground (common).

Thus, I'd have to find a different way correct?

Last edited by jodywhitesides; 07-24-2015 at 04:52 AM.
Reply With Quote
  #31  
Old 07-24-2015, 05:19 AM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Quote:
Originally Posted by jodywhitesides View Post
1 problem with the method you suggest for being slick... My LEDs have 3 prongs. 1 for Red, 1 for Green, 1 ground (common).

Thus, I'd have to find a different way correct?
Oops, good point. Still, no problem to reverse them. Connect one cathode to each CT 0-3 via a series resistor. Then tie the red anodes together at CT 8, and the green anodes together at CT9. Change the LED output formats to 03h and 00h. That should work.

If the LEDs have have a standard operating Vf of ~2V, a 1k series resistor should be a good starting point.
Reply With Quote
  #32  
Old 07-24-2015, 05:56 AM
jodywhitesides jodywhitesides is offline
Junior Member
 
Join Date: Mar 2015
Posts: 21
Default

If I understand...

CT 0 - 3 gets 1 of each LEDs center pole (the common).

CT 8 gets all four of the LEDs Red leads.

CT 9 get all four of the LEDs Green leads.

Easy enough to switch around. What would be my code for each layer to change the LED colors? I'm a little confused on that part.

Thanks.
Reply With Quote
  #33  
Old 07-24-2015, 08:10 AM
jodywhitesides jodywhitesides is offline
Junior Member
 
Join Date: Mar 2015
Posts: 21
Default

Ok, after getting the LEDs rewired as suggested and using the suggested 03, 00 codes on 08 and 09 respectively... My "Mode" switch now correctly switches layers and lights up the correct light display. Exciting! All programming for the MIDI CPU is now complete for my project.

Here's pictures of my custom pedal:






Thanks John!

p.s.Time to start learning the looping software and getting my amps all programmed in the software, now that the pedal works as intended.
Reply With Quote
  #34  
Old 07-24-2015, 01:36 PM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Quote:
Originally Posted by jodywhitesides View Post
Ok, after getting the LEDs rewired as suggested and using the suggested 03, 00 codes on 08 and 09 respectively... My "Mode" switch now correctly switches layers and lights up the correct light display. Exciting! All programming for the MIDI CPU is now complete for my project.

Here's pictures of my custom pedal:






Thanks John!

p.s.Time to start learning the looping software and getting my amps all programmed in the software, now that the pedal works as intended.
Hey Jody, thanks for posting the photos! It looks great. I'm very glad that you got everything working.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.