Pumpkin, Inc.

Pumpkin User Forums

task_stack functions

If you want to share a clever way of using Salvo in your embedded application, post it here.

task_stack functions

Postby zoomcityzoom » Wed Feb 15, 2006 12:09 pm

I've created a set of task stack functions -

task_stack_is_empty
task_stack_is_full
task_stack_init
task_stack_push
task_stack_top
task_stack_pop

that have turned out to be very useful. For example, they provide the capability to "call" a task from the current task and then return.

We don't seem to have a way to attach files to posts, so if you would like more info, feel free to contact me at zoomcityzoom@gmail.com

Salvo has completely changed my approach to programming on a small micro! Yes, for the better. Also, using my elisp functions (emacs) to autonumber (and renumber) labels has taken the drudgery out of writing for Salvo and lets me focus on the problem at hand. If you don't use emacs, figure out a way to automate label numbering in your editor!

Tom

Tom Deutschman
Wizbang Designs, Inc.
zoomcityzoom
 
Posts: 13
Joined: Sat Dec 24, 2005 12:00 am
Location: Spokane, WA, USA

Return to Hints & Ideas

Who is online

Users browsing this forum: No registered users and 0 guests

cron