Class: RoboticArm::Wrist

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

Returns a new instance of Wrist.



286
287
288
289
# File 'lib/robotic-arm.rb', line 286

def initialize(robot_arm)
  super(robot_arm)
  @upval, @downval = 0x04, 0x08
end