Tiagoamarante:
I know for sure that as soon there is something in the serial port the sensor has sent it's contents
Actually, you don't. When Serial.available returns 1, all you know is that there is 1 byte available to read.
Tiagoamarante:
I know for sure that as soon there is something in the serial port the sensor has sent it's contents
Actually, you don't. When Serial.available returns 1, all you know is that there is 1 byte available to read.