-
Notifications
You must be signed in to change notification settings - Fork 82
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
base: master
Are you sure you want to change the base?
Conversation
Hi @rharrison, first of all thanks for your contribution, but why do you change the pins for Rx & Tx? |
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); |
There was a problem hiding this comment.
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?
Sorry I ran pretty on the code and set TX & RX to pins 3 & 2 respectively.