MtrSetVal Function

Microchip Graphics Library

Microchip Graphics Library
MtrSetVal Function
C
void MtrSetVal(
    METER * pMtr, 
    SHORT newVal
);
Overview

This function sets the value of the meter to the passed newVal. newVal is checked to be in the minValue-maxValue range inclusive. If newVal is not in the range, minValue maxValue is assigned depending on the given newVal if less than minValue or above maxValue.

Input Parameters
Input Parameters 
Description 
METER * pMtr 
The pointer to the object. 
SHORT newVal 
New value to be set for the Meter
Returns

none

Preconditions

none

Side Effects

none

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved