Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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 "Arduino.h"
#include "Sim800l.h"
#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