Searching \ for '[Fwd: Re: Concurrency Problem on a low power PIC 8' 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/power.htm?key=power
Search entire site for: 'Re: Concurrency Problem on a low power PIC 8'.

Exact match. Not showing close matches.
PICList Thread
'[Fwd: Re: Concurrency Problem on a low power PIC 8'
1996\11\06@165819 by Peter Homann

picon face
Amberdrew Ltd wrote:
>
> Robert Lunn wrote:
> >
> > >I need to measure a continuous frequency between 0 - 250
cycles/MINUTE,
> > >and transmit it via RS-232 at 2400 baud in a message containing 6
bytes
> > >once 5 seconds.
> >
> >         Peter, what's the six-byte message you send?
> >
> >         (I want to get a handle on the processing required to
> >          create the message string.)
> >
> > ___Bob
>
> Bob, you could try setting up an array of say 6 bytes in memory
> where the first would be an STX byte the next four would be the ascii
of
> the 4 digit number and the last being EOT so a value 123 would be
> <stx><0><1><2><3><eot> or in hex 033031323304 this way the stx will
> indicate the start of the numeric string and the eot the end. the
> receiving equipment would be able to take the val of the four digits
> using an ascii to int conversion. if the interupt code updates the
bytes
> of the output string then all you have to do is just keep sending it
out
> every 5 seconds or so.
>
> Peter .......

Peter,

Is not the problem with this method the fact that while the message
is being 'bit banged' out, the interrupt may occur, screwing up the
serial data stream?

Peter.
--

_______________________________________________________________________
Peter Homann   email: spam_OUTpeterhTakeThisOuTspamadacel.com.au       Work : +61 3 9596-2991
Adacel Pty Ltd                                   Fax  : +61 3 9596-2960
250 Bay St, Brighton 3186, VIC, AUSTRALIA      Mobile :     014 025-925

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