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

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

Last modified 5 years ago Last modified on 03/16/20 14:14:42
Note: See TracWiki for help on using the wiki.