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'
Also:
See also:
file: /Techref/microchip/16f84-rs232-an.htm, 2KB, , updated: 2006/1/17 14:46, local time: 2024/11/25 08:42,
owner: AK--373,
3.140.185.194:LOG IN
|
©2024 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://sxlist.com/Techref/microchip/16f84-rs232-an.htm"> PIC Specific RS232 routine for the 16x84</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.