Permalink
Switch branches/tags
Nothing to show
Find file Copy path
0b4e7d5 Aug 17, 2015
1 contributor

Users who have contributed to this file

20 lines (15 sloc) 617 Bytes
// original sketch: http://shin-ajaran.blogspot.ro/2014/12/noobs-guide-to-esp8266-with-arduino.html
// rewrite after photo for ESP8266 Wi-Fi module by niq_ro from http://nicuflorica.blogspot.com/
// and http://arduinotehniq.blogspot.com/
// and http://www.tehnic.go.ro
// rewrite for M590 GPRS module by niq_ro - 13.08.2015, Craiova - Romania, Europe, Earth
void setup() {
// initialize both serial ports:
Serial.begin(115200);
Serial2.begin(115200);
//Serial2.begin(9600);
}
void loop() {
while(Serial2.available()) Serial.write(Serial2.read());
while(Serial.available()) Serial2.write(Serial.read());
}