Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gitmasternikanjam/atmosphere_arduino
https://github.com/gitmasternikanjam/atmosphere_arduino
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/gitmasternikanjam/atmosphere_arduino
- Owner: GitMasterNikanjam
- Created: 2024-11-14T00:53:22.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2024-11-14T01:38:40.000Z (about 2 months ago)
- Last Synced: 2024-11-14T02:29:07.892Z (about 2 months ago)
- Language: C++
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# library for Arduino
- This library can be used to measure atmosphere properties by variaty of sensors.
- User can select and customize which sensors that want to use.
- Each model type sensor has its own class.## "Atmosphere_BMP180" Class
### Public Member Functions
```c++
/**
@brief Init object. Check parameters.
@return true if succeeded.
*/
bool init(void);/**
@brief Read and update values of object.
*/
void update(void);```
### Public Member Variables
```c++
/// @brief Last error accured for object.
String errorMessage;
/**
@struct ParametersStructure
@brief Parameters structure.
*/
struct ParametersStructure
{
/// @brief Number of samples that is used for average calculations.
uint8_t SAMPLE_USE;
}parameters;/**
@struct ValuesStructure
@brief Values structure.
*/
struct ValuesStructure
{
/// @brief Temperature value. [Celcius]
float temperature;/// @brief Pressure value. [Pa]
float pressure;/// @brief Density value. [Kg/m^3]
float density;/// @brief Altitude from mean sea level. [m]
float altitude;
}value;```