//----------- Simplest serial send from Arduino -------------
// (-View output using Serial Monitor in Arduino Interface.)
//------------------------------------------------------------
void setup() { // Only do once at startup
Serial.begin(9600); // start serial port at 9600 bps:
}
void loop() { // repeat forever
Serial.println("A"); // Send message to serial (USB)
delay(500); // delay a half second
Serial.println("1"); // Send message to serial (USB)
delay(500); // delay a half second
}
|