When trying to run following code, I can send the first integer "1" but if I continue after that, it just doesnt send anything back.
However, with an Arduino UNO this code works 100%. How can I fix that?
I hope somebody can try that for me, so I can confirm that it's the hardware/library and not the code.
if( Serial.available() > 0 )
int inc = Serial.parseInt();
if(inc == 1)
int temp = analogRead(0);
int pressure = analogRead(1);
String t_str = String(temp);
String p_str = String(pressure);
String string = t_str + "#" + p_str + ".";
Thanks in advance.