gnupic: 16F877 I/O
Subject:
Re: 16F877 I/O
From:
"Franz Holzinger" ####@####.####
Date:
8 Mar 2004 22:43:01 -0000
Message-Id: <404CFDE8.31715.2DA69B@localhost>
On 8 Mar 2004 at 10:47, Scott Dattalo wrote:
> On Mon, 8 Mar 2004, Gaston G. Izaguirre wrote:
>
> > Hi,
> >
> > I'm trying to implement serial rs232 communication for the PIC16F877 by
> > software instead of using the built-in UART (dedicated to other task). What
> > resources (links, lectures, source code, etc) would you recomend me for this
> > task.
>
> I'd recommend dedicating TMR2. If you only need to transmit from the F877
> then you can program TMR2 to generate an interrupt equal to the time for a
> single bit. If you have to receive as well, then you're going to want to
> poll at least 3 times faster and use a majority weighting to determine the
> sampled bit. You may wish to search piclist.com (before you do this,
> you'll have to turn on cookies in your browser...) for an example.
>
> Scott
>
Maybe the program NONAME.A16 is useful to you. It is commented in German
however. Look for the item 'SERIELL'. It is developed as a bar code
reader. It is part of my software you can download at
http://fholzinger.com/Diplomarbeit.zip .
To get the password you have to send me an extra email.
Franz