Class: OutputModeFlags

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

Overview

OutputModeFlags can be used together with the mode_flags on SetOutputState

Class Method Summary collapse

Class Method Details

.BRAKEObject

use run/brake instead of run/float in PWM



12
13
14
# File 'lib/telegrams/commands/direct/output_state.rb', line 12

def BRAKE
  0x02
end

.MOTORONObject

turn on the specified motor



7
8
9
# File 'lib/telegrams/commands/direct/output_state.rb', line 7

def MOTORON
  0x01
end

.REGULATEDObject

turns on the regulation



17
18
19
# File 'lib/telegrams/commands/direct/output_state.rb', line 17

def REGULATED
  0x04
end