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/12/23 00:02,
owner: AK--373,
18.221.157.203: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://techref.massmind.org/techref/microchip/16f84-rs232-an.htm"> PIC Specific RS232 routine for the 16x84</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.