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
  #1  
Old 07-12-2015, 05:33 PM
bent bent is offline
Member
 
Join Date: Nov 2010
Posts: 88
Default Project: Controller UP/DOWN & ENTER with led

Alright, my new project "should" be simple... what i want:

- up button
- down button
- enter button
- cancel button
- 3 digit - 7 segment led display

way to work:
- the system will send Program Change # (PC#)
- on system power up, it's on the last PC# or PC#000 (dont really care)
- up or down button change the PC# ,led display is flashing the new number, but the new PC# is not send yet.
- if press CANCEL button, the system goes back to the previous PC# and stop flashing.
- if instead, ENTER is press, system send the new PC# and stop flashing.

shouldn't be difficult...

BUT , can it be done with the MIDI CPU ?

Thank's for the answer , and if some people can start to guide me....

Bent
Reply With Quote
  #2  
Old 07-23-2015, 11:08 AM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Quote:
Originally Posted by bent View Post
Alright, my new project "should" be simple... what i want:

- up button
- down button
- enter button
- cancel button
- 3 digit - 7 segment led display

way to work:
- the system will send Program Change # (PC#)
- on system power up, it's on the last PC# or PC#000 (dont really care)
- up or down button change the PC# ,led display is flashing the new number, but the new PC# is not send yet.
- if press CANCEL button, the system goes back to the previous PC# and stop flashing.
- if instead, ENTER is press, system send the new PC# and stop flashing.

shouldn't be difficult...

BUT , can it be done with the MIDI CPU ?

Thank's for the answer , and if some people can start to guide me....

Bent
Yes, this can be done with the MIDI CPU.

The "flashing" of the LEDs can't easily be implemented (you'd need to implement the flashing with separate hardware).

What about a separate "not sent" LED that indicates that the PC # has been changed but not yet sent? That would be much easier.

The general approach:

Use one MIDI CPU data register for the PC "new value" to be sent. Use a second register for the PC "set value" that was previously set.

LED matrix:

Set up to display only the number in the "new value" register.

Up/Down buttons:

Layer 0: increment/decrement the "new value" register
Layer 1: set the "not sent" LED

Enter button:

Layer 0: send PC using value from "new value" register
Layer 1: copy value from "new value" register to "set value" register
Layer 2: clear the "not sent" LED

Cancel button:

Layer 0: copy value from "set value" register to "new value" register
Layer 1: clear the "not sent" LED

Last edited by John; 07-23-2015 at 11:11 AM.
Reply With Quote
  #3  
Old 07-27-2015, 06:29 AM
bent bent is offline
Member
 
Join Date: Nov 2010
Posts: 88
Default

thanks john for guiding me!!!

i'm giving it a look and come back soon...
Reply With Quote
  #4  
Old 08-29-2015, 02:05 AM
bent bent is offline
Member
 
Join Date: Nov 2010
Posts: 88
Default

this post is change to this:
http://forum.highlyliquid.com/showthread.php?t=1411
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 09:18 PM.


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