pinout and reading