// *****************************************************
// InitCommros()
//
//  This function is used to initalize commros and the
//  neccessary communication hardware.
// *****************************************************
void InitCommros()
{
	//Initalize commros and reset all internal variables
	InitCore(&commros);

	//Map serial port functions to commros
	SetByteProtocolCallBacks(&commros,&SCIDataAvailable,&SCITransmitByte,&SCIReceiveByte);

	//Initialize the serial port so it is ready for receiving and transmitting data
	SetupSerialPort();

	//Inform anyone listening on the serial port that the we are awake
	SendResetMessage(&commros,0);
}
//==================================================================================================
void TestDialog_2::OnBnClickedButton3()
{
	SetupSerialPort();
}