Class: RoboticArm::Elbow

Inherits:
ComponentUpDown show all
Defined in:
lib/robotic-arm.rb

Instance Method Summary collapse

Methods inherited from ComponentUpDown

#down, #up

Methods inherited from ComponentMoving

#moving?, #stop

Methods inherited from Component

#active?

Constructor Details

#initialize(robot_arm) ⇒ Elbow

Returns a new instance of Elbow.



278
279
280
281
# File 'lib/robotic-arm.rb', line 278

def initialize(robot_arm)
  super(robot_arm)
  @upval, @downval = 0x10, 0x20
end