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

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -