

Hello guys. I am building a simple app to display generated values (numbers) from arduino code. for my code, it will output numbers from 0 to 10 and keep on looping. so i want to display the output on my android app. Label 4 is expected to display the output. i've found some references from this forum (in reference to SCOTTFROMSCOTT) but still unable to accomplish my app successfully. my arduino code is very simple as shown below.
-------------------------------------------------------
byte mydata=0;
void setup() {
Serial.begin(9600);
}
void loop() {
mydata=mydata+1;
Serial.print(byte(mydata));
Serial.print(",");
delay(100);
if(mydata==10){
mydata=0;
Serial.println("\n");
}
}
---------------------------------------------------------
And my codeblock is as shown below


could someone help me with this. THANKS IN ADVANCE.