• printf statement not working after putchar statement is used.
    Hi All I am using following putchar routine. void srl_putchar(unsigned char send) { SBUF = send; while (!TI); TI = 0; } after using above routine to transfer a character via serial port i continued...
  • printf statement not working after putchar statement is used.
    Hi All I am using following putchar routine. void srl_putchar(unsigned char send) { SBUF = send; while (!TI); TI = 0; } after using above routine to transfer a character via serial port i continued...
  • printf statement not giving the required string out.
    Hi All i want following string of bytes to be send by the CPU 80C51RD2 serial port:0xba,0x02,0x01,0xb9 statement: printf("%c%c%c%c",stxi,select_lnth,select_cmd_char,select_bcc); output:0xba,0x02,0x01...
  • printf statement not giving the required string out.
    Hi All i want following string of bytes to be send by the CPU 80C51RD2 serial port:0xba,0x02,0x01,0xb9 statement: printf("%c%c%c%c",stxi,select_lnth,select_cmd_char,select_bcc); output:0xba,0x02,0x01...
  • declaration may not appear after executable statement
    #include<lpc214x.h> void init(void); void delay_ms(int); int main(void) { int i,j,k,A,B,C; IODIR0=0; A=0; B=IOPIN0; C=B^A; unsigned char c[]="I L*** NITC \n"; unsigned char r[]="I L*** EMBEDDED SYSTEMS...