added documentation for pin.state to readme