예제 #1
0
        /// <summary>
        /// Message received from arduino
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Connector_PacketReceived(object sender, ARCPO_ReceivedEventArgs e)
        {
            this.mReceivedMessageHistory.Add(e.Packet);

            if (this.PacketReceived != null)
            {
                this.PacketReceived(this, e);
            }
        }
예제 #2
0
 private void Connector_PacketReceived(object sender, ARCPO_ReceivedEventArgs e)
 {
     textBox1.Text += ">>RECEIVED unexpected message " + e.Packet.mID + " : ";
     textBox1.Text += e.Packet.ContentString;
     textBox1.Text += "\r\n";
 }