title: rpi-gpio pin always high/low
body: <p>we are using rpi-gpio and node.js to read/write to
  raspberry version 1 pins.</p>
  
  <p>we have a led connected to gnd (pin 3) and gpio4 (pin 7).</p>
  
  <p>using write works perfectly: </p>
  
  <pre><code>gpio.setup(7, gpio.DIR_OUT, write);
  
  function write() {
      gpio.write(7, true, function(err) {
          if (err) throw err;
          console.log('Written to pin');
      });
  }
  </code></pre>
  
  <p>although using the read function</p>
  
  <pre><code>gpio.setup(7, gpio.DIR_IN, readInput);
  
  function readInput() {
      gpio.read(7, function(err, value) {
          console.log('The value is ' + value);
      });
  }
  </code></pre>
  
  <p>leads to the following behavior:</p>
  
  <p>1) the led is turned off
  2) the status of the gpio pin is always true</p>
  
  <p>setting the the port to "true" so the led is light makes
  no difference. when reading the pin the led is off and pin is true.</p>
  
  <p>the same but inverse is with pin 11, 12 - led is off and pin false.</p>
  
  <p>using a listener for value changes on the specific pin works ... 
  although i really want to read the pin-value on demand!</p>