wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdProcess

Version 9 (modified by Don Wilson, 5 years ago) ( diff )

--

MnBdProcess * DEPRECATED - New apps should use StartRepeatMulti *

Requests weight and reads the from the main board based on some internal scheduling.

int MnBdProcess(void);

Parameters

Function does not accept any parameters.

Return Value

Function returns mnbdProcWtRcv when new weight data is available, mnbdIORcv when new IO status information is available.

Remarks

This is usually called from within the main screen process event.

Examples

EVENT(MainScreenProcess)
{
	int n = MnBdProcess();
	if(n == mnbdProcWtRcv)
	{
		if(IsGrossWtChanged(1))
		{
			DisplayText(0, 40, GetChangedGrossWt(1), 0, BIG_FONT);
		}
	}

	return 0;
}

See Also

Note: See TracWiki for help on using the wiki.