Searching \ for '[JunkMail] Re: [PIC]: Hitech PICCLITE state machin' 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/microchip/devices.htm?key=pic
Search entire site for: '[JunkMail] Re: [PIC]: Hitech PICCLITE state machin'.

Exact match. Not showing close matches.
PICList Thread
'[JunkMail] Re: [PIC]: Hitech PICCLITE state machin'
2004\01\31@094005 by Bill Couture

picon face
On Fri, 30 Jan 2004, Herbert Graf wrote:

> >     Make a constant array of 8 characters; initialize it with G, F,
> >     D, V, W, H, Y, Z.  Then:
> >
> >         if (ISR_charBuf == array[ISR_state]) ISR_state++;
> >
> >     -Andy
>
>         WOW!!! 42 words saved thanks to that brilliant idea! :) Thanks alot. TTYL

I didn't see this response before I wrote mine, but you need to check
ISR_state for valid array index befor the ISR_charBuf compare.  Array
index out of range is a bad thing...

Bill

--
http://www.piclist.com hint: To leave the PICList
spam_OUTpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu

.

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