Hello, I need to send a couple of characters to my device to get it going. I'm able to get the characters sent but I'm having trouble getting the 'carriage return' to be sent.
Referring to http://arduino.cc/en/Reference/ASCIIchart
int poweron = 111; int cr = 13; int continuous = 99; Serial.write(poweron); // Turn on 'o' delay(1000); Serial.write(cr); // Carriage Return delay(1000); Serial.write(continuous); // Activate Continuous Function 'c' delay(1000); Serial.write(cr); // Carriage Return delay(1000);
If I press ENTER on my keyboard the two characters are sent to the serial terminal.
Thanks for any help