Class: OutputModeFlags
- Inherits:
-
Object
- Object
- OutputModeFlags
- 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
-
.BRAKE ⇒ Object
use run/brake instead of run/float in PWM.
-
.MOTORON ⇒ Object
turn on the specified motor.
-
.REGULATED ⇒ Object
turns on the regulation.
Class Method Details
.BRAKE ⇒ Object
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 |
.MOTORON ⇒ Object
turn on the specified motor
7 8 9 |
# File 'lib/telegrams/commands/direct/output_state.rb', line 7 def MOTORON 0x01 end |
.REGULATED ⇒ Object
turns on the regulation
17 18 19 |
# File 'lib/telegrams/commands/direct/output_state.rb', line 17 def REGULATED 0x04 end |