ostaquet / Arduino-SIM800L-driver

Arduino driver for GSM/GPRS module SIMCom SIM800L to make HTTP/S connections with GET and POST methods
MIT License
133 stars 61 forks source link

Software serial wrong delcaration? #21

Closed TheEngineersCorner closed 4 years ago

TheEngineersCorner commented 4 years ago

hello, the basic test for software serial is incorrect? the rx and tx is wrong way.

SoftwareSerial(SIM800_TX_PIN, SIM800_RX_PIN); The correct method is: SoftwareSerial(RX,TX)

See, https://www.arduino.cc/en/Tutorial/SoftwareSerialExample

mohammadfatemieh commented 4 years ago

I think You say correctly

ostaquet commented 4 years ago

You right, to me clean. I should invert the names.

But at the end, the TX pin of the SIM800 is connected on the RX pin of the Arduino and the RX pin of the SIM800 is connected on the TX pin of the Arduino :-P

Fixed in master branch.

Thanks for the feedback