Class: Tinkerforge::BrickletIsolator
- Inherits:
-
Object
- Object
- Tinkerforge::BrickletIsolator
- Defined in:
- lib/tinderfridge/devices/bricklet_isolator/bricklet_isolator.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 |
# File 'lib/tinderfridge/devices/bricklet_isolator/bricklet_isolator.rb', line 6 def state super.merge( 'statistics' => get_statistics, 'spitfp_baudrate_config' => get_spitfp_baudrate_config, 'spitfp_baudrate' => get_spitfp_baudrate, 'isolator_spitfp_error_count' => get_isolator_spitfp_error_count, ) end |