Skip to content

Instantly share code, notes, and snippets.

@neufuture
Created July 3, 2013 02:21
Show Gist options
  • Save neufuture/5914953 to your computer and use it in GitHub Desktop.
Save neufuture/5914953 to your computer and use it in GitHub Desktop.
const int resetPin = 38;
void setup() {
Serial.begin(115200);
Serial.println("Starting WiFi");
Serial1.begin(9600);
pinMode(resetPin, OUTPUT);
digitalWrite(resetPin, HIGH);
}
void loop() {
while(Serial1.available() > 0) {
Serial.write(Serial1.read());
}
if(Serial.available()) {
Serial1.write(Serial.read());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment