void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("Hello Arduino");
}
void loop() {
// put your main code here, to run repeatedly:
while(Serial.available()) {
// get the character
char ch = Serial.read();
// echo the character to serialaaaa monitor or PuTTY
Serial.print("You enter : ");
// Serial.write(ch);
Serial.println(ch);
}
}