Class: Tinkerforge::BrickletVoltageCurrentV2
- Inherits:
-
Object
- Object
- Tinkerforge::BrickletVoltageCurrentV2
- Defined in:
- lib/tinderfridge/devices/bricklet_voltage_current_v2/bricklet_voltage_current_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 13 14 |
# File 'lib/tinderfridge/devices/bricklet_voltage_current_v2/bricklet_voltage_current_v2.rb', line 6 def state super.merge( 'voltage' => get_voltage, 'current' => get_current, 'power' => get_power, 'configuration' => get_configuration, 'calibration' => get_calibration, ) end |