please dont rip this site

PIC Specific RS232 IO

.sti file generator for RS232 simulation in MPLAB

Kayode Ayandokun [kayode.ayandokun at VIRGIN.NET] says:

I recently wrote two small PC programs that may be of use to anyone developing a serial application on a 16F84 or other PIC using a bit-banged serial interface.

gps_sti is a program to create the *.sti files used by the MPLAB simulator. You give it the starting point for the serial input in cycles from the start of your PIC program and the string to be sent to the PIC in the simulation and an sti file is generated. Uses RB0 for the input and assumes inverted TTL. The program is available as C source so it can easily be modified if required. A batch file is also provided to demonstrate the command line.

serialDemo is a very simple C++ program that demonstrates how to set up a PC serial port from a Win32 console app, open a text file and transmit it line by line to the PIC or whatever else is attached to the serial port. It uses the freeware SerialPort MFC class by PJ Naughter. It comes with project and resource files for MSVC++ 5.0.

Both programs are available for download from the free demo code page at (cached 20001220081855 Source in HTML)


file: /Techref/microchip/mplab/sti-rs232.htm, 2KB, , updated: 2007/12/11 11:13, local time: 2024/7/14 04:47,

 ©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?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> .sti file generator for RS232 simulation in MPLAB</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!