How to see serial data in Rx and Tx ?

Status
Not open for further replies.

bianchi77

Advanced Member level 4
Joined
Jun 11, 2009
Messages
1,313
Helped
21
Reputation
44
Reaction score
20
Trophy points
1,318
Location
California
Activity points
9,442
Guys,

How can I see the microcontroller is transmitting data in serial port ( Rx and Tx ) on simulation ?

Written code below, I'm using Keil ...

Code:
void transmit_data()
 {
    TMOD = 0x20;
	TH1 = 0xfd;
	PCON &= 0x7f;
	SCON = 0x50;
	TCON =0x40;
 }

Thank you
 

You can either using the µVision Serial Window or the ASSIGN command to redirect serial I/O to a COM port on your system.





BigDog
 

sir bigdogguru
from where we get this µvision? Is it an additional software or any tool inside the keil
 

µVision is the IDE common to the various KEIL compilers. When you compose a program to be compiled by a KEIL compiler, you are usually doing so in the µVision IDE.

To identify the version you are using just reference the Help -> About µVision menu.

BigDog
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…