upm  1.3.0
Sensor/Actuator repository for libmraa (v1.7.0)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions
INA132 Class Reference

API for the INA132 Differential Amplifier Sensor. More...

Detailed Description

The INA132 Differential Amplifier Sensor is designed for precise differential-input amplification.

This sensor was tested amplifying the signal from a Weight Sensor (Load Cell) 0-500g

// The was tested with the INA132 Differential Amplifier Sensor module.
// Instantiate an INA132 on analog pin A0
upm::INA132 *amplifier = new upm::INA132(0);
while (shouldRun)
cout << amplifier->value() << endl;

Public Member Functions

 INA132 (int pin)
 ~INA132 ()
float value ()

Constructor & Destructor Documentation

INA132 ( int  pin)

INA132 constructor

pinAnalog pin to use
~INA132 ( )

INA132 destructor

Member Function Documentation

float value ( )

Measures precise differential-input amplification from the sensor

Precise differential-input amplification

The documentation for this class was generated from the following files: