# File lib/commands/rotation_sensor.rb, line 57
  def direction
    case true
      when rotation_count > @internal_counter
        "forwards"
      when rotation_count < @internal_counter
        "backwards"
      when rotation_count == @internal_counter
        "stopped"
    end
  end