Class: Tinkerforge::BrickletHallEffectV2
- Inherits:
-
Object
- Object
- Tinkerforge::BrickletHallEffectV2
- Defined in:
- lib/tinderfridge/devices/bricklet_hall_effect_v2/bricklet_hall_effect_v2.rb
Instance Method Summary collapse
-
#state ⇒ Object
Returns the device’s state.
Instance Method Details
#state ⇒ Object
Returns the device’s state.
6 7 8 9 10 11 12 |
# File 'lib/tinderfridge/devices/bricklet_hall_effect_v2/bricklet_hall_effect_v2.rb', line 6 def state super.merge( 'magnetic_flux_density' => get_magnetic_flux_density, 'counter' => get_counter(false), 'counter_config' => get_counter_config, ) end |