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

#include <Loom_MS5803.h>

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

Public Member Functions

void initialize () override
 
void measure () override
 
void package () override
 
void power_up () override
 
 Loom_MS5803 (Manager &man, byte address=0x77, bool useMux=false)
 
float getTemperature ()
 
float getPressure ()
 
- Public Member Functions inherited from I2CDevice
 I2CDevice (const char *modName)
 
bool checkDeviceConnection ()
 
- 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 ()
 

Protected Member Functions

void power_down () override
 

Additional Inherited Members

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

Detailed Description

Interface for the MS5803 Atmospheric Pressure / Temperature sensor module.

Author
Will Richards

Member Function Documentation

◆ getPressure()

float Loom_MS5803::getPressure ( )
inline

Get the pressure reading

◆ getTemperature()

float Loom_MS5803::getTemperature ( )
inline

Get the temperature reading

◆ initialize()

void Loom_MS5803::initialize ( )
overridevirtual

Module control methods

Implements Module.

◆ measure()

void Loom_MS5803::measure ( )
overridevirtual

Implements Module.

◆ package()

void Loom_MS5803::package ( )
overridevirtual

Implements Module.

◆ power_down()

void Loom_MS5803::power_down ( )
inlineoverrideprotectedvirtual

Implements Module.

◆ power_up()

void Loom_MS5803::power_up ( )
overridevirtual

Implements Module.


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