You are here: Forum Home → ANT+ Forums → ANT+ Bike Power → Thread
UCHAR aucTxBuf[ANT_STANDARD_DATA_PAYLOAD_SIZE];
aucTxBuf[0] = 0x42; //KICKR_SET_ERG_MODE
aucTxBuf[1] = (unsigned char) usDeviceId;
aucTxBuf[2] = (unsigned char)(usDeviceId>>8);
aucTxBuf[3] = (unsigned char)loadWatts; //Watts;
aucTxBuf[4] = (unsigned char)(loadWatts>>8);
aucTxBuf[5] = (unsigned char)(0); //bSimSpeed (0-1)
pclMessageObject->SendBroadcastData(4, aucTxBuf);
——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com
——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com