RdiaDecVal Macro

Microchip Graphics Library

Microchip Graphics Library
RdiaDecVal Macro
C
#define RdiaDecVal(pDia) RdiaSetVal(pDia, (pDia->pos - pDia->res))
Overview

Used to directly decrement the value. The delta change used is the resolution setting (res).

Input Parameters
Input Parameters 
Description 
pDia 
Pointer to the object. 
Returns

none

Preconditions

none

Side Effects

none

Example

Refer to RdiaIncVal() example.

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