Jump to content

Need Help on programming LPC17 Matrix


Shaeded

Recommended Posts

Hello

 

Ive programmed the PIC based core in the past, to me programming was straight foward (Text edit etc....). This new core LPC17 is causing me headaches. Ive sucsessfully uploaded programms (MIDIO128 V3 or MIDIbox NG) and they worked partially (due to my hardware layout, i didnt expect them to work perfectly). the MIDIO128 V3 software worked better, because i have a AINSER8 with 8 pots, an the pots work. My problem is the Matrix im running its not working properly see image.

 

post-5066-0-90063000-1405601928_thumb.jp

 

I think i figured out the problem, its not scanning/running in matrix mode. So in order to get everything running i need to modify the code. 

 

 

I cant figure a couple of things out. So my qustions:

 

1. With my layout (8pots + matrix image). witch programm would be the better to start with:  MIDIO128 V3 or MIDIbox NG

 

2. Where are the Config files

 

3. Do i need a SD-card to get access to the config files?

 

4. Whats the best way to modify the code (MIOS Studio....)

 

 

 

THX

 

 

Link to comment
Share on other sites

Hi,

 

MIDIbox NG is the better choice.

Yes, you need a SD Card (regardless if you are using MBNG or MIDIO128), and you can store & edit the configuration file with MIOS Studio.

 

It's described here: http://www.ucapps.de/midibox_ng_manual_fs.html

 

 

I think i figured out the problem, its not scanning/running in matrix mode.

 

yes, it's not running in matrix mode.

 

Best Regards, Thorsten.

Link to comment
Share on other sites

  • 2 weeks later...

Ok 

 

Ive managed to get notes from the buttons on the DIN (solved). The LED's are also scanning! but the marked LED's are causing problems. They are being scanned, but some are already lit when i load the .NGC file (should be off, like the other LED's). I need some assistance on this issue.  :sad:

 

Here is my test code:

# Reset to default
RESET_HW

EVENT_LED_MATRIX id=1 hw_id=1 colour=1 dimmed=1 type=NoteOn key=36 chn=1

DOUT_MATRIX n=1 rows=4 inverted=0 sr_dout_sel1=1 sr_dout_r1=2 sr_dout_g1=3
DOUT_MATRIX n=2 rows=4 inverted=0 sr_dout_sel1=2 sr_dout_r1=5 sr_dout_g1=6[/xml]

 
My circuit, see attachment
 
 
THX :rolleyes:

post-5066-0-94686000-1406317712_thumb.jp

Link to comment
Share on other sites

HEY

 

Did it. Problem solved!! :hyper: Goddam ribbon cable   :mad:.

 

code just got simpler!

RESET_HW
EVENT_LED_MATRIX id=1 type=NoteOn key=36
DOUT_MATRIX n=1 rows=4 sr_dout_sel1=0 sr_dout_r1=2 sr_dout_r2=3
[/xml]

 

 

Each LED in the Matrix is triggered by a separate note, thats what i was looking for!

 

Cheers

Edited by Shaeded
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...