Insert
Serial.begin(9600);
in void setup. Default settings are 8 data bits, 1 stop bit, no parity. Check out RS232 at wikipedia.com for an explanation of serial data transfers.
Check out asciitable.com
If you were to look at the data actually transmitted, you would see 5 bytes of hex code for every line above. The 1, 9, 8, , all
have a hex equivelent, your arduino will receive and those and make decisions as to what to do with the data.
198 would come out as 0x31 0x39 0x38 0x0D 0x0A, where 0x signifies hex data.
So you would have your code look for data, something like this
if (Serial.available()>0){ // did at least 6 bytes come in?
incomingByte = Serial.read; // read the first character
if (incomingByte == 0x0A){ // ignore bytes that aren't end of a block of 5 to get in sync
while (Serial.available <4){ //saw good LF, wait for 5 bytes to come in
// 5 bytes are in, read them:
byte0 = Serial.read(); //read hundreds digit
byte1 = Serial.read(); // read tens digit
byte2 = Serial.read(); // read ones digit
byte3 = Serial.read(); // CR
byte4 = Serial.read(); // LF
} // end while
// do something with the data
} // end 0x0A check
} // end serial.available check