Functions | Variables
cphidgetweightsensor.c File Reference
#include "stdafx.h"
#include "cphidgetweightsensor.h"
#include "cusb.h"
#include "csocket.h"
#include "cthread.h"
#include <math.h>
Include dependency graph for cphidgetweightsensor.c:

Go to the source code of this file.

Functions

 CPhidget_read ((CPhidgetHandle) phid)
 if ()
 if (fabs(phid->Weight-phid->lastweight) >=phid->WeightChangeTrigger||phid->lastweight==PUNK_DBL)
 if (phid->Weight!=PUNK_DBL)
 TESTPTR (phid)

Variables

return EPHIDGET_OK
return EPHIDGET_UNEXPECTED
phid lastweight = PUNK_DBL
phid Weight = PUNI_DBL
phid WeightChangeTrigger = PUNI_DBL

Function Documentation

if ( )

Definition at line 40 of file cphidgetweightsensor.c.

if ( fabs(phid->Weight-phid->lastweight) >=phid->WeightChangeTrigger||phid->  lastweight = PUNK_DBL)

Definition at line 59 of file cphidgetweightsensor.c.

if ( phid->Weight!  = PUNK_DBL)

Definition at line 69 of file cphidgetweightsensor.c.

TESTPTR ( phid  )

Variable Documentation

return EPHIDGET_OK

Definition at line 17 of file cphidgetweightsensor.c.

Definition at line 79 of file cphidgetweightsensor.c.

Definition at line 14 of file cphidgetweightsensor.c.

Definition at line 13 of file cphidgetweightsensor.c.

Definition at line 15 of file cphidgetweightsensor.c.



pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21