getting wrong data from USB Communication in C# -


i using microcontroller send data computer. code using data:

    serialport1.portname = "com13";     serialport1.baudrate = 57600;     serialport1.databits = 8;     serialport1.parity = parity.odd;     serialport1.stopbits = stopbits.one;      serialport1.open();      private void serialport1_datareceived(object sender, serialdatareceivedeventargs e)     {          serialport sp = (serialport)sender;         output += sp.readbyte() + " ";   } 

but problem getting wrong data, missing 1 bytes. using "terminal" , seems sending data correctly microcontroller c# getting wrong data. there way parameter of serial port automatically dont need set parameters self.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -