I have an issue with reading data from controller. Symbols not the same like they coded in controller. May be this is have something with UTF-8 ? I'm running linuxbox for development. According to examples
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
Serial.write('Hello Arduino');
Serial.flush();
delay(1000); // delay in between reads for stability
}
You should spend some time on the reference page, then. In particular, look at the difference between Serial.print() and Serial.write(). Try to determine which makes more sense for sending ASCII data.
Pay some real attention to what Serial.flush() actually does, and explain why you think you need to call it.