Searching \ for 'To Table or not To Table,' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/mems.htm?key=table
Search entire site for: 'To Table or not To Table,'.

Truncated match.
PICList Thread
'To Table or not To Table,'
1999\05\04@141752 by varney

flavicon
face
part 0 16 bytes
</x-html>

1999\05\04@170743 by Mark Willis

flavicon
face
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}

1999\05\04@171622 by Dmitry Kiryashov

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

I'll be glad if my little person will be within your students ;-)

BTW: Why not start discussion about state machine here in PICLIST.
This is very big field and I sure alot of interesting things can
be shared between us. ;-)

WBR Dmitry.

1999\05\05@063400 by Caisson

flavicon
face
Van: varney <spam_OUTvarneyTakeThisOuTspamCLAS.NET>
Aan: .....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU
Onderwerp: To Table or not To Table,
Datum: dinsdag 4 mei 1999 20:17

Hello Varney

> I am using a 16F84 for a host controller. The IC that I am hosting uses 8
bit packets to
> TX and RX data. The packets change in qty from 4 to 8 packet per
communication. The
> host (PIC16F84) will always initialize the transfer and the IC will
always respond. I believe
> that a look up table will not be enough to accomplish the task of
controlling this IC. Any
> suggestions on methodology or an approach for hosting this IC.

Although I'm not sure what kind of response you are expecting, I'll try
anyway.  If the Table-size is a concern, why not take a external memory
like the 24Cxx series. I2C (2-line communication), and upto 2048 bytes of
storage ...

Greetz,
 Rudy Wieser



Gordon Varney

1999\05\05@091052 by goflo

flavicon
face
Dmitry Kiryashov wrote:
>
> Mark Willis wrote:
> >
> >   I'll teach anyone state machines if interested.  (Anyone have some
> > "beginners' coding techniques" tutorials about things like this?  That'd
> > be handy!)
> >
> >   Mark
>
> I'll be glad if my little person will be within your students ;-)
>
> BTW: Why not start discussion about state machine here in PICLIST.
> This is very big field and I sure alot of interesting things can
> be shared between us. ;-)
>
> WBR Dmitry.

2nd the motion.

Jack

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...