renvoie paramètres apres reconnexion V2
This commit is contained in:
parent
68e3f9bb85
commit
cd6ad218dd
3 changed files with 3 additions and 2 deletions
|
|
@ -137,6 +137,7 @@ namespace DMX2
|
|||
return;
|
||||
}
|
||||
serial = new SerialPort (portname, 460800, Parity.None, 8, StopBits.One);
|
||||
Console.WriteLine (portname);
|
||||
//serial.DtrEnable = false;
|
||||
//serial.ReadTimeout = 200;
|
||||
//serial.WriteTimeout = 200;
|
||||
|
|
@ -195,7 +196,7 @@ namespace DMX2
|
|||
if(!WaitForData (1)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
paramFlag = true;
|
||||
serial.Read(tmpBuffer,0,1);
|
||||
if(tmpBuffer[0] == 65) return true;
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<target-gtk-version>2.12</target-gtk-version>
|
||||
</configuration>
|
||||
<import>
|
||||
<widget-library name="../bin/Release/DMX-2.0.exe" internal="true" />
|
||||
<widget-library name="../bin/Debug/DMX-2.0.exe" internal="true" />
|
||||
</import>
|
||||
<icon-factory>
|
||||
<icon-set id="tirettes">
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in a new issue