Class: RegulationMode

Inherits:
Object
  • Object
show all
Defined in:
lib/telegrams/commands/direct/output_state.rb

Overview

Regulation mode is an enumeration used to set how things work when in a REGULATED output mode

Class Method Summary collapse

Class Method Details

.IDLEObject

no regulation will be enabled



28
29
30
# File 'lib/telegrams/commands/direct/output_state.rb', line 28

def IDLE
  0x00
end

.MOTOR_SPEEDObject

power control will be enabled on the specified output



33
34
35
# File 'lib/telegrams/commands/direct/output_state.rb', line 33

def MOTOR_SPEED
  0x01
end

.MOTOR_SYNCObject

synchronization will be enabled (needs to be enabled on two outputs)



39
40
41
# File 'lib/telegrams/commands/direct/output_state.rb', line 39

def MOTOR_SYNC
  0x02
end