kishore680
Member level 5
oh thanks a lot!! Btw how did u send data serially? That code u ran once.?. i ll be typing everytime in command window.So asked. I see you didnt use that serial port emulator?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
hi, fprintf instruction send text not binary data check fwrite instructionHi i have written small matlab codeMy circuit in proteus View attachment 87800.. IF i send higood. i got this as output in virtual terminal View attachment 87801. And the keil code for receiving data serially isCode:s = serial('COM4','BaudRate',9600); fopen(s); fprintf(s,'A');
. Please someone tell me whats the fault in circuit or in programme.I need to send data from PC and make sure microcontroller received it properly.ThankuCode:#include<reg51.h> void sertex(unsigned char); void main(void) { unsigned char z; TMOD=0x20; TH1=0xFD; SCON=0x50; TR1=1; while(1) { while(RI==0); z=SBUF; P1=z; RI=0; } }
hi, fprintf instruction send text not binary data check fwrite instructionHi i have written small matlab codeMy circuit in proteus View attachment 87800.. IF i send higood. i got this as output in virtual terminal View attachment 87801. And the keil code for receiving data serially isCode:s = serial('COM4','BaudRate',9600); fopen(s); fprintf(s,'A');
. Please someone tell me whats the fault in circuit or in programme.I need to send data from PC and make sure microcontroller received it properly.ThankuCode:#include<reg51.h> void sertex(unsigned char); void main(void) { unsigned char z; TMOD=0x20; TH1=0xFD; SCON=0x50; TR1=1; while(1) { while(RI==0); z=SBUF; P1=z; RI=0; } }