i got a small problem. how to view the contents of varible that is displayed by printf in Uvision keil
#include<reg51.h> #include<stdio.h> main() { int i; scanf("%d",&i); printf("%d",i);
}
how the input varible 'i' is scanned and how and where it is displayed?
PLz help!!
That is up to you. You have to create the functions that maps the read and write of a single character to an UART or other interface. Have you spent some time with the Keil documentation?
thanx for the help!!!