piclist 1999\05\04\170743a >
Thread: To Table or not To Table,
www.piclist.com/techref/mems.htm?key=table
flavicon
face BY : Mark Willis email (remove spam text)



I'd consider a state machine type method for this sort of thing, from
what little I know so far.  (State machines use a look up table to "know
where they are" in stepping through a more involved process of handling
communications, and how to handle whatever happens - so you need to
handle timeouts, errors, and so on - each with a state the program knows
how to "jump to", though the same code handles all states usually, with
subroutines for some processes, often.)

 I'll teach anyone state machines if interested.  (Anyone have some
"beginners' coding techniques" tutorials about things like this?  That'd
be handy!)

 Mark

{Quote hidden}

<372F610F.83416BBF@nwlink.com> 7bit

See also: www.piclist.com/techref/mems.htm?key=table
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) To Table or not To Table,

month overview.

new search...