i am using keil uvision 2. plss tell me why we use printf in embedded c? if its 4 debugging,HOW? if its 4 serial commn/transmit characters to serial port,HOW? plsssssssssssssss some1 help.........i searched everywere but i dint get answer..
Hi Dhaneesh,
Take a peek at the following link:
members.iinet.net.au/.../Sio_poll_0.6.php
The detailed module will readily enable you to use high-level C library functions like printf(), scanf(), etc., with your RS232 serial hardware.
It was created specifically to serve people with your very question, Dhaneesh.
Regards, Murray R. Van Luyn.
Follow the instructions here:
http://www.keil.com/support/man/docs/c51/c51_lib_stream.htm