Class: Tinkerforge::BrickletDMX

Inherits:
Object
  • Object
show all
Defined in:
lib/tinderfridge/devices/bricklet_dmx/bricklet_dmx.rb

Instance Method Summary collapse

Instance Method Details

#stateObject

Returns the device’s state.



6
7
8
9
10
11
12
13
14
# File 'lib/tinderfridge/devices/bricklet_dmx/bricklet_dmx.rb', line 6

def state
  super.merge(
    'dmx_mode'                 => get_dmx_mode,
    'frame_duration'           => get_frame_duration,
    'frame_error_count'        => get_frame_error_count,
    'communication_led_config' => get_communication_led_config,
    'error_led_config'         => get_error_led_config,
  )
end