Reading the output of a transistor