You mean 9600 baud? I'm still getting blank stares from my serial monitor.
That was what I meant.
Are you able to explain how the serial input works?
Not really, except that it uses two lines, tx for transmission and rx for recieving.
As I understand it with this particular code, I should be able to type out '\r' into my serial monitor and get a reading. Would anyone agree to this being correct?
Yes, you can write in the upper inputField of the serial monitor and hit return to send.
I was about to send this code
void setup()
{
Serial.begin(9600);
}
boolean test=true ;
void loop()
{
if( Serial.available()>0)
{
int gg = Serial.read();
if(test){
Serial.println("writes ") ;
test=false;
}
else{
Serial.print("reads ") ;
Serial.println(char(gg)) ;
test=true;
}
}
}// end loop
as a quick test. Every second time you send a letter, it should return "reads "+ letter. Using the serial montor is no big deal, though the way people chooses to parse the recieved bytes differs.
If you go into your preferences you should be able to choose 'verbose' error-output ... maybe that can give you a hint of what's missing