取消
顯示結果 
搜尋替代 
您的意思是: 

Serial Port and MSC1200

Hello, I´m tried connect the serail port at MSC1200 microcontroller. The program performed perfect, but no message is show in string variable.
Anybody know works with any project like this?

0 積分
1 條訊息(共 2 條)
2,683 檢視

I guess it's not perfect if you don't get any data.眨眼表情

You have an indicator for number of bytes read. Is it greater than 0? If it's not, then the reason the string is empty is because there was nothing in the serial port buffer to read. Is the micro constantly sending out data? Have you tried using Hyperterminal to read the micro. If it is constantly transmitting, then the Hyperterminal scree will just fill up as long as you are connected. If the micro requires you to first send a command to request data, then you need to do a VISA Write of that command before doing the read.

0 積分
2 條訊息(共 2 條)
2,673 檢視