Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What's the "next line" command for 8051 in C language?

Status
Not open for further replies.

hamidraza22

Newbie level 6
Joined
Sep 21, 2006
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,362
as there is a command { cout<<"\n"; } for next line in C++;
can any1 tell me how can i use this command for 8051 Microntroller C landuage.
I am doing doing serial communication through 8051 microcontroller.
 

help needed

printf("\n"); or printf("\r\n");

\n = new line
\r = carriag return (to start of line)

in some terminal emulation program, it want \r for bring cursor to 1st location of line.
 

Re: help needed

kason the thing u have told me is applicable for Turbo C
i want the same logic but in syntax of Microcontroller 8051 C language.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top