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 15:46, local time: 2024/8/31 18:08,
owner: AK--373,
3.15.4.14: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://www.piclist.com/techref/microchip/16f84-rs232-an.htm"> PIC Specific RS232 routine for the 16x84</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
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! |
.