# File lib/motor.rb, line 81
  def read_state
    @log.debug(:read_state) { "getting state"}
    state = @nxt.get_output_state(@port)
    @log.debug(:read_state) { "got state" }
    
    debug(state, :state)
    
    return state
  end