Skip to content

Instantly share code, notes, and snippets.

@jcastaneyra
Created January 3, 2012 19:48
Show Gist options
  • Save jcastaneyra/1556559 to your computer and use it in GitHub Desktop.
Save jcastaneyra/1556559 to your computer and use it in GitHub Desktop.
Arduino UNO Xbee Coordinator
#include <SoftwareSerial.h>
#define RxD 11
#define TxD 12
SoftwareSerial beeSerial = SoftwareSerial(RxD,TxD);
void setup() {
beeSerial.begin(57600);
}
void loop() {
beeSerial.write('1');
delay(3000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment