From what I undestand from the Processing reference page, Serial.available() returns an int, with the number of bytes available, from (I think) the data incoming. So it’s always zero until the data begins to arrive, in that moment is somewhere between 40 or 50 in my case, depending of the length of the data.
2 Likes