I've been trying to talk with a serial module and use AT commands that need "both in nl and cr" but through the code. but when I write Serial.write("AT\r\n")
does not receive it. "
would could I do to fix it?
How about
Serial.println("AT")
println() prints a CRLF sequence after whatever you pass it.