title: Firmata with Arduino Mega 1280, can't read all input pins
body: <p>I got an Arduino Mega 1280 and want to communicate with it via Firmata. That sounds easy...</p>
  
  <p>So my problem: If I use the StandardFirmata Firmware for the Arduino, which is included in Arduino 1.0, I can set output Pins, and send a signal to them ((highlighting a led on pin 24):</p>
  
  
  
  <pre class="lang-java prettyprint-override"><code>arduino.digitalWrite(24, Arduino.HIGH);
  </code></pre>
  
  <p>But I cannot read any digital input from my Mega. As I found out, some people had the problem with reading on ports higher than 13. I can't verify it, my input signals start at port 23.
  example:</p>
  
  <pre class="lang-java prettyprint-override"><code>if (arduino.digitalRead(25) == Arduino.HIGH){
    println("is high");
    }
  </code></pre>
  
  <p>Now I installed the AllInputsFirmata on my Mega, it is also preinstalled in Arduino 1.0. Now it is no problem to read from an digital input: example:</p>
  
  <pre class="lang-java prettyprint-override"><code>if (arduino.digitalRead(25) == Arduino.HIGH){
    println("is high");
    }
  </code></pre>
  
  <p>But this time, I can't send any signal out.</p>
  
  <p>So, what is going on?</p>
  
  <p>(Yes, I tested it with the FirmataTest software, and there everything goes alright!)</p>