Skip to content

Added softReset and functions to test and set network time#29

Open
rharrison wants to merge 1 commit into
cristiansteib:masterfrom
rharrison:master
Open

Added softReset and functions to test and set network time#29
rharrison wants to merge 1 commit into
cristiansteib:masterfrom
rharrison:master

Conversation

@rharrison

Copy link
Copy Markdown

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

@cristiansteib

Copy link
Copy Markdown
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

rharrison commented Jan 26, 2019 via email

Copy link
Copy Markdown
Author

@cristiansteib

Copy link
Copy Markdown
Owner

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

Comment thread Sim800l.cpp
#include <SoftwareSerial.h>

SoftwareSerial SIM(RX_PIN,TX_PIN);
SoftwareSerial SIM(RX_PIN, TX_PIN);

Copy link
Copy Markdown
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