wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Utility/GetMnBdVer

Version 2 (modified by Don Wilson, 14 years ago) ( diff )

--

GetMnBdVer

Gets the main board version

int GetMnBdVer();

Parameters

Function does not accept any parameters.

Return Value

Returns numeric representation of the version multipled times 100, so version 1.16 is returned as 116.

Remarks

MnBdStartup must be called before this will return a valid result.

Example

int n = GetMnBdVer();
if(n < 116)
{
   DisplayText(0, 0, "Main board update recommended");
}

See Also

Note: See TracWiki for help on using the wiki.