Exemple #1
0
 public void detachSerialBuffer()
 {
     serialBuffer.RXbufferUpdated -= new SerialBuffer.CallBackEventHandler(RXbufferUpdated);
     serialBuffer.TXbufferUpdated -= new SerialBuffer.CallBackEventHandler(TXbufferUpdated);
     serialBuffer = null;
 }
Exemple #2
0
 public void attachSerialBuffer(SerialBuffer _serialBuffer)
 {
     serialBuffer = _serialBuffer;
     serialBuffer.RXbufferUpdated += new SerialBuffer.CallBackEventHandler(RXbufferUpdated);
     serialBuffer.TXbufferUpdated += new SerialBuffer.CallBackEventHandler(TXbufferUpdated);
 }