CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

"hierarchical menus in embedded systems"-port to C

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
tomcuga



Joined: 12 Jul 2007
Posts: 15

View user's profile Send private message

"hierarchical menus in embedded systems"-port to C
PostPosted: Tue Jul 06, 2010 12:03 am     Reply with quote

There was a very interesting article "hierarchical menus in embedded systems" on #160 ( nov 2003) issue of circuit cellar by aubrey kagan.
Has anyone try to port the code from this interesting article to CCS C?
I'm studying the code but it's full of unknowns for me unfortunately Shocked
It uses some dynamic C stuff which I don't understand also...
PICoHolic



Joined: 04 Jan 2005
Posts: 224

View user's profile Send private message

PostPosted: Tue Jul 06, 2010 7:02 am     Reply with quote

Maybe if you could share this article, you'll get more support Wink
MiniMe



Joined: 17 Nov 2009
Posts: 50

View user's profile Send private message

PostPosted: Tue Jul 06, 2010 11:28 am     Reply with quote

I've found menu system which uses timer and change on port B interrupt, so you can use 4 keys.

This menu is very simple... no sub-menus, but you can find variables increasing functions integrated into menu and you can call your function by pressing on menu line choice.

There are also some repeat press hold function.

You can find source code from this very forum.
http://www.ccsinfo.com/forum/viewtopic.php?t=38772&highlight=dodebounce

Good luck
tomcuga



Joined: 12 Jul 2007
Posts: 15

View user's profile Send private message

PostPosted: Tue Jul 06, 2010 12:16 pm     Reply with quote

I can send Circuit Cellar num 160 in PDF to everyone interested in. I don't know how to attach PDF to my forum post.
It's very generic approach to menu system and relatively easy to change
menus so that's why I like it.
tomcuga



Joined: 12 Jul 2007
Posts: 15

View user's profile Send private message

PostPosted: Fri Jul 09, 2010 12:38 am     Reply with quote

Code from article is available here:
ftp://ftp.circuitcellar.com/pub/Circuit_Cellar/2003/160/Kagan-160.zip
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group