MtrIncVal Macro

Microchip Graphics Library

Microchip Graphics Library
MtrIncVal Macro
C
#define MtrIncVal(pMtr, deltaValue) MtrSetVal(pMtr, ((pMtr)->value + deltaValue))
Overview

This macro is used to directly increment the value.

Input Parameters
Input Parameters 
Description 
pMtr 
Pointer to the object. 
deltaValue 
Number to be added to the current Meter value. 
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