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 http://www.stv5730A.co.uk
http://www.blackboxcamera.com/Stv5730a/gps_sti.zip (cached 20001220081855 Source in HTML)
http://www.blackboxcamera.com/Stv5730a/serialDemo.zip
Comments:
file: /Techref/microchip/mplab/sti-rs232.htm, 2KB, , updated: 2007/12/11 10:13, local time: 2024/11/10 11:14,
3.239.87.20:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://massmind.ecomorder.com/techref/microchip/mplab/sti-rs232.htm"> .sti file generator for RS232 simulation in MPLAB</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.