ユーザー名: パスワード:
新ユーザー登録
管理人: toedder 
 Computers

Have computer questions, hints, or tips?

BBW's Tips on how to speed up page load the brainking site
Computers (BIG BAD WOLF, 2007-03-12 20:16:01)



adwareには何が新しい?
掲示板表
モード: 誰でも投稿可能
メールの内容の検索:  

6. 7月 2006, 09:04:34
Hrqls 
件名: C# serial port sends only 3F above 7F ?
Hrqls (6. 7月 2006, 09:06:16)に変更されました。
i hope anyone can help me

i am trying to send a string of characters (ascii codes 0 to 255) over the serial port using the SerialPort control in C# (vs 2005 pro)

the characters arrive nice and sweet ... up to 7F, the characters with ascii code 80 and higher (hex) are sent as 3F all the time (as soon as the 8th bit is used 3F will be sent)

does know anyone what could cause this problem, and maybe how it can be solved or done otherwise ?

i am using the code below :

string strMsg = "";
for (int intI = 0; intI <256; intI++)
{
strMsg += Convert.ToChar(intI);
}
comKAR.Write(strMsg);
</pre>

日時
オンライン友達
気に入り掲示板
同好会
今日のアドバイス
著作権 © 2002 - 2024 Filip Rachunek.
上へ