Class: RoboticArm::Shoulder

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) ⇒ Shoulder

Returns a new instance of Shoulder.



270
271
272
273
# File 'lib/robotic-arm.rb', line 270

def initialize(robot_arm)
  super(robot_arm)
  @upval, @downval = 0x40, 0x80
end