Skip to content

Conversation

@rharrison
Copy link

Sorry I ran pretty on the code and set TX & RX to pins 3 & 2 respectively.

@cristiansteib
Copy link
Owner

Hi @rharrison, first of all thanks for your contribution, but why do you change the pins for Rx & Tx?
The pin 2 optionly was thinking to be the reset pin.
BR.

@rharrison
Copy link
Author

rharrison commented Jan 26, 2019 via email

@cristiansteib
Copy link
Owner

Please change the pinout. Probably is better add parameters to the instanciation. Your changes are welcome, do a pull request will your changes :)

#include <SoftwareSerial.h>

SoftwareSerial SIM(RX_PIN,TX_PIN);
SoftwareSerial SIM(RX_PIN, TX_PIN);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could be great if the values to instantiate SoftwareSerial are provided via arguments of the Sim800l class.. could you change that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants