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.
|file: /Techref/microchip/16f84-rs232-an.htm, 2KB, , updated: 2006/1/17 15:46, local time: 2017/10/23 01:37,
|©2017 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/microchip/16f84-rs232-an.htm"> PIC Specific RS232 routine for the 16x84</A>
|Did you find what you needed?|
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232!
Welcome to www.piclist.com!