Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By nhatdq
#50833 Hi!, I'm try to connect tm4c123gxl with esp8266-01:

Here are pins of TM4C:
Image

ESP8266 - TM4C

GND - GND

VCC - +3.3V

CH_PD - +3.3V

Rx - PD7 (Tx 2)

Tx - PD6 (Rx 2)

I tested with "AT" command, if it's success, it will return "OK".

Here is my code:

Code: Select allvoid setup() {
  Serial2.begin(115200);
  Serial.begin(9600);
  Serial2.write("AT");
}

//------------------------------------------------------------
void loop()
{
  while (Serial2.available()){
    char result = Serial2.read();
    Serial.print("Serial2 result:\t");
    Serial.print(result);
    Serial.println("");
  }
}


But It just print 2 lines and nothing else
Serial2 result: A
Serial2 result: T