Question about Arduino Uno and ItedStudio 3G Shield ...


hi, i'm trying send commands 3g shield arduino uno.
my jumper set 1.jpg
here code, got strange response 2.jpg
anyone please tell me why, thanks!
code: [select]

#include <softwareserial.h>
#define rxpin 0
#define txpin 1
softwareserial myserial(rxpin, txpin);//rx,tx

void setup() {
  serial.begin(115200);
  myserial.begin(115200);
}

void loop() {
  if (myserial.available())
  {
    serial.write(myserial.read());
  }
  if (serial.available())
  {
    myserial.write(serial.read());
  }
}

you can't use d0 & d1 talk both serial monitor , shield.

move jumpers d2 & d3 , change call softwareserial reflect this.


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Question about Arduino Uno and ItedStudio 3G Shield ...


arduino

Comments