yousufsaleem
Junior Member level 1
***At sending side***
s = serial('COM1');
set(s,'BaudRate',9600,'DataBits',8);
fopen(s);
fwrite(s,'we love you')
fclose(s)
***at receiving side***
s = serial('COM1');
set(s,'BaudRate',9600,'DataBits',8);
fopen(s);
x=fgets(s)
fclose(s)
**but at receiving only we is coming **
can you help me to get complete data at receiving side plz reply fast
s = serial('COM1');
set(s,'BaudRate',9600,'DataBits',8);
fopen(s);
fwrite(s,'we love you')
fclose(s)
***at receiving side***
s = serial('COM1');
set(s,'BaudRate',9600,'DataBits',8);
fopen(s);
x=fgets(s)
fclose(s)
**but at receiving only we is coming **
can you help me to get complete data at receiving side plz reply fast