Alora Library
Library for using Alora shield
 All Classes Namespaces Files Functions Variables Macros Pages
Public Attributes | List of all members
SensorValues Struct Reference

#include <AloraSensorKit.h>

Public Attributes

float T1
 
float P
 
float H1
 
float T2
 
float H2
 
double lux
 
uint16_t gas
 
uint16_t co2
 
float accelX
 
float accelY
 
float accelZ
 
float gyroX
 
float gyroY
 
float gyroZ
 
float magX
 
float magY
 
float magZ
 
float magHeading
 
int magnetic
 
float windSpeed
 
gps_fix gpsFix
 

Detailed Description

Data read from sensors are stored in this struct

Examples:
examples/AloraReadAllSensor/AloraReadAllSensor.ino, and examples/AloraReadGPS/AloraReadGPS.ino.

Member Data Documentation

float SensorValues::accelX

Accelerometer X axis

float SensorValues::accelY

Accelerometer Y axis

float SensorValues::accelZ

Accelerometer Z axis

uint16_t SensorValues::co2

CO2 readgin from CCS811

uint16_t SensorValues::gas

Air quality value from either CCS811 or analog gas sensor

gps_fix SensorValues::gpsFix

GPS fix information

Examples:
examples/AloraReadGPS/AloraReadGPS.ino.
float SensorValues::gyroX

Gyroscope X axis

float SensorValues::gyroY

Gyroscope Y axis

float SensorValues::gyroZ

Gyroscope Z axis

float SensorValues::H1

Humidity from BME280

Examples:
examples/AloraReadAllSensor/AloraReadAllSensor.ino.
float SensorValues::H2

Humidifty from HDC1080

double SensorValues::lux

Luminance from TSL2591

float SensorValues::magHeading

Heading in degrees

int SensorValues::magnetic

Magnetic sensor value

float SensorValues::magX

Magnometer X axis

float SensorValues::magY

Magnometer Y axis

float SensorValues::magZ

Magnometer Z axis

float SensorValues::P

Pressure from BME280 in hPa unit

float SensorValues::T1

Temperature from BME280 in celcius unit

Examples:
examples/AloraReadAllSensor/AloraReadAllSensor.ino.
float SensorValues::T2

Temperature from HDC1080 in celcius unit

float SensorValues::windSpeed

Speed of the wind in MPH


The documentation for this struct was generated from the following file: