Thursday, June 13, 2013

Serial interface Test Code

Here's the source code I used to test out my serial interface programs:
int LED_Pin = 13;

// Hello World for use with serial comms testing.

void setup(){
 Serial.begin(9600);
}

void loop(){ 
  Serial.print("Hello World\n");
 delay(1000);
  Serial.print("Goodbye World\n");
  delay(1000);  
}

No comments:

Post a Comment