/// <summary>
 /// This is just for simulate the stop and reset the code.
 /// Delete this is a option...
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnAlarm_Click(object sender, EventArgs e)
 {
     Timer.times.Stop();
     Timer.times.Elapsed -= ConnectionFactor;
     SetPortAndBaud.SendOnlySingleCommand("8");
     SetPortAndBaud.ClosePort();
 }
 /// <summary>
 /// This is just for simulate the clear funksjon both c# and arduino
 /// with the use of command: 7
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void txtClear_Click(object sender, EventArgs e)
 {
     txtShow.Clear();
     SetPortAndBaud.SendOnlySingleCommand("7");
     SetPortAndBaud.ClosePort();
 }