//Project : SCISubroutines.c //Version : 1.01 //Date : 12/24/2002, modified 5/23/2005 //Author : JianJian Song w/ modification by Curtis Rhodes //Company : rose-hulman institute of technolog //Purpose : RS232 serial communicaiton routines //Input: serial port from PC //Outputs: serial output to PC // Serial port // RC6 (pin 25) == TX pin to send data to PC // RC7 (pin 26) == RX pin to receive data from PC // //Chip type : PIC16F877A //Clock frequency : 20 MHz #include #include "memoryProgrammer.h" //=================================================== // display_string() //=================================================== void display_string(const char *string, char length) // send a string to serial port. length is string length { char i; for(i=0;i