= MnBdSetEvent = Specify an event function to be called when a specified response is received from the main board {{{ void MnBdSetEvent(int item, MNBD_EVENT_FNC event); }}} == Parameters == * item - response item such as MNBD_REQ_GET_WT * event - event function that is called when the response is received == Return Value == This function oes not return any value == Remarks == The application must have a background event that calls MnBdRead to facilitate this. == Examples == {{{ MnBdSetEvent(MNBD_REQ_GET_WT, MnBdEventWtRcv); MNBD_EVENT(WtRcv) { if(IsGrossWtChanged(1)) { DisplayText(0, 40, GetChangedGrossWt(1), 0, BIG_FONT); } return 0; } }}} == See Also == * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdClearEvent MnBdClearEvent] * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdRead MnBdRead]