All pastes #470898 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-05-04 16:08 UTC
rendered paste body
	//Bara fˆr debugcrap
	Can_Message_t txMsg;
	txMsg.Id = 0x55;
	txMsg.RemoteFlag = 0;
	txMsg.ExtendedFlag = 1;
	txMsg.DataLength = 4;
	txMsg.Data.bytes[0] = currColor.R;
	txMsg.Data.bytes[1] = currColor.G;
	txMsg.Data.bytes[2] = currColor.B;
	txMsg.Data.bytes[3] = currColor.Intens;

	BIOS_CanSend(&txMsg);