المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : strange character



C++ Programming
04-03-2009, 05:30 AM
guys..i am using silicon lab to send a data out to visual C++ using serial comm...i already know how to establish the serial port and receive data from the serial port...and i also can recieve data from it..but now the problem is the data i receive are strange character...example: i send a "hi" the output is "h? ||| |||" i dun understand this...im using printf("hi"); and using MFC to configure the serial comm..any helps?http://www.barakasoft.com/script/Forums/Images/thumbs_up.gif