PIC Specific RS232 routine

by Andy N1YEW [n1yew at SOFTHOME.NET]

PIC Serial Routines for the 16x84

This PIC serial routine will work on a 16x84. I needed one for my fox. Since I could not find a suitable one on the web, I decided to build my own. It runs on a 4 MHz clock. I tried to be as accurate as I could. All the numbers you see on the side are what I used to keep track of how many micro seconds I spent. It was riddled with problems at first, such as I forgot to TRIS the porta; test/set the wrong bit, etc.

use the code like so:
serrecv receivedbyte
sersenf receivedbyte
sersenl 'A'

Download the code.

Andy N1YEW

Also:

See:

See also:

Interested: