I am a newbie to microcontroller programming I am using ccsc compiler and written a program to communicate to PC thru RS232 interface It uses users232 directive.just that ..and after that i wrote putc functions. But its not sending the character i mentioned in putc but any random character is coming on hyperterminal .... #include <18F4550.h> #fuses HS,NOWDT #use delay(clock=3D20MHz) #use rs232(baud=3D9600,parity=3DN,xmit=3DPIN_C6,rcv=3DPIN_C7,bits=3D8,BRGH1= OK,STOP=3D1) void main() { char c; set_tris_c(0xBF); enable_interrupts(GLOBAL); enable_interrupts(INT_RDA); while(TRUE) { c=3Dgetc(); //if getc() timeouts 0 is returned to c putc(c); } } his is my program which gives this following o/p on hyper terminal, in echo mode in hyperterminal. dD ddddddffffffaybzaybzddeettyyzzayayaybzbzbzc{ Where in most characters are correctly transmitted and received like dd ee ff etc but definite characters like a, b, c which are converted to definite wrong characters like a is transmitted but received is y similarly b----> z c----> { everytime point to be noted is a=3D97 0110 0001 in ascii y=3D121 0111 1001 b =3D 98 0110 0010 z=3D122 0111 1010 similar for c------>{ Please reply, I have tried for hours but not able to come out why there is problem with definite few characters. They only come wrong everytime. --=20 Thanks & Regards Nidhi Mittal Hada Scientific officer D Computer Division Bhabha Atomic Research Center Mumbai http://nidhi-searchingmyself.blogspot.com/ --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .