Loom 4 v4.5
Arduino library for Internet of Things Rapid Prototyping in environmental sensing
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Loom_ADS1232 Class Reference

#include <Loom_ADS1232.h>

Inheritance diagram for Loom_ADS1232:
Inheritance graph
[legend]
Collaboration diagram for Loom_ADS1232:
Collaboration graph
[legend]

Public Member Functions

 Loom_ADS1232 (Manager &man, int num_samples=1, long offset=8403613, float scale=2041.46)
 
void initialize () override
 
void power_up () override
 
void power_down () override
 
void measure () override
 
void package () override
 
void calibrate ()
 
float getWeight ()
 
float getRaw ()
 
- Public Member Functions inherited from Module
 Module (const char *modName)
 
void setModuleName (const char *modName)
 
virtual const char * getModuleName ()
 
virtual void printModuleName (const char *message)
 
virtual void initialize ()=0
 
virtual void measure ()=0
 
virtual void package ()=0
 
virtual void power_up ()=0
 
virtual void power_down ()=0
 
virtual void display_data ()
 

Additional Inherited Members

- Public Attributes inherited from Module
bool moduleInitialized = true
 
int module_address = -1
 

Detailed Description

ADS1232 Weight Sensor

Author
Will Richards

Member Function Documentation

◆ calibrate()

void Loom_ADS1232::calibrate ( )

Calibrate the sensor

◆ getWeight()

float Loom_ADS1232::getWeight ( )
inline

Get the recorded weight

◆ initialize()

void Loom_ADS1232::initialize ( )
overridevirtual

Implements Module.

◆ measure()

void Loom_ADS1232::measure ( )
overridevirtual

Implements Module.

◆ package()

void Loom_ADS1232::package ( )
overridevirtual

Implements Module.

◆ power_down()

void Loom_ADS1232::power_down ( )
overridevirtual

Implements Module.

◆ power_up()

void Loom_ADS1232::power_up ( )
overridevirtual

Implements Module.


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