Class: IoT::BMP280
- Inherits:
-
BMxSensor
- Object
- Receptor
- DigitalReceptor
- DigitalSensor
- TemperatureSensor
- HumitureSensor
- BMxSensor
- IoT::BMP280
- Defined in:
- lib/iot/bmx_sensor.rb
Overview
combined atmospheric pressure & temperature sensor
Instance Method Summary collapse
-
#initialize ⇒ BMP280
constructor
A new instance of BMP280.
Methods inherited from BMxSensor
#hPa, #name, #pressure, #read_data, #to_s
Methods inherited from HumitureSensor
Methods inherited from TemperatureSensor
#celsius, #fahrenheit, #kelvin, #read_data, #reaumur, #temperature, #to_s
Methods inherited from DigitalReceptor
Methods inherited from Receptor
Constructor Details
#initialize ⇒ BMP280
Returns a new instance of BMP280.
63 64 65 |
# File 'lib/iot/bmx_sensor.rb', line 63 def initialize super('BMP280') end |