Class: RegulationMode
- Inherits:
-
Object
- Object
- RegulationMode
- 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
-
.IDLE ⇒ Object
no regulation will be enabled.
-
.MOTOR_SPEED ⇒ Object
power control will be enabled on the specified output.
-
.MOTOR_SYNC ⇒ Object
synchronization will be enabled (needs to be enabled on two outputs).
Class Method Details
.IDLE ⇒ Object
no regulation will be enabled
28 29 30 |
# File 'lib/telegrams/commands/direct/output_state.rb', line 28 def IDLE 0x00 end |
.MOTOR_SPEED ⇒ Object
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_SYNC ⇒ Object
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 |